Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6c4cf7e authored by Zhao Qin's avatar Zhao Qin
Browse files

Remove unused code in InputDispatcher

Trivial cleanup, the 'reason' string is not used anymore.

Test: build
Change-Id: Ie7057a0129ee2687e5a721940a291f28e494abe0
parent e615929b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2080,7 +2080,6 @@ bool InputDispatcher::shouldWaitToSendKeyLocked(nsecs_t currentTime,
sp<WindowInfoHandle> InputDispatcher::findFocusedWindowTargetLocked(
        nsecs_t currentTime, const EventEntry& entry, nsecs_t* nextWakeupTime,
        InputEventInjectionResult& outInjectionResult) {
    std::string reason;
    outInjectionResult = InputEventInjectionResult::FAILED; // Default result

    int32_t displayId = getTargetDisplayId(entry);