summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-04-05 20:47:39 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-04-05 20:47:39 +0000
commitab6300a9316a4fe1bc6ebbf54005e97cafb78952 (patch)
tree57f0445bb896a5e4171a36ce3d5bc253b1454559
parenteb82357183c5ba949dcfdc5c7109630646e5024e (diff)
parentf6d1778bc159441a7f818dfa30b75d7fe2abd664 (diff)
Merge "Print display id as integer" into main
-rw-r--r--services/inputflinger/dispatcher/InputState.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/services/inputflinger/dispatcher/InputState.cpp b/services/inputflinger/dispatcher/InputState.cpp
index c2d2b7b0ea..02bc3680bf 100644
--- a/services/inputflinger/dispatcher/InputState.cpp
+++ b/services/inputflinger/dispatcher/InputState.cpp
@@ -338,9 +338,8 @@ bool InputState::shouldCancelPreviousStream(const MotionEntry& motionEntry) cons
// it's unlikely that those two streams would be consistent with each other. Therefore,
// cancel the previous gesture if the display id changes.
if (motionEntry.displayId != lastMemento.displayId) {
- LOG(INFO) << "Canceling stream: last displayId was "
- << inputEventSourceToString(lastMemento.displayId) << " and new event is "
- << motionEntry;
+ LOG(INFO) << "Canceling stream: last displayId was " << lastMemento.displayId
+ << " and new event is " << motionEntry;
return true;
}