diff options
author | 2023-12-15 16:40:25 +0800 | |
---|---|---|
committer | 2023-12-15 16:40:25 +0800 | |
commit | a6c4cf7e2ac24995eac86cf8cc00eb158d018b58 (patch) | |
tree | abc79f7cc0450d195208d6185316f2f85d892acf | |
parent | e615929b5bda71163372d55d6a865112a2f96c29 (diff) |
Remove unused code in InputDispatcher
Trivial cleanup, the 'reason' string is not used anymore.
Test: build
Change-Id: Ie7057a0129ee2687e5a721940a291f28e494abe0
-rw-r--r-- | services/inputflinger/dispatcher/InputDispatcher.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/services/inputflinger/dispatcher/InputDispatcher.cpp b/services/inputflinger/dispatcher/InputDispatcher.cpp index 59220a03ff..7981e9acb5 100644 --- a/services/inputflinger/dispatcher/InputDispatcher.cpp +++ b/services/inputflinger/dispatcher/InputDispatcher.cpp @@ -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); |