summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2024-04-18 20:12:38 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-04-18 20:12:38 +0000
commit70da543d25dc06573ed536b283ef913d01055127 (patch)
tree1b40a34c712b689421360dd39fe97d7f455629a2
parent8401a11969acf6384e444af9e097baeaa29ef42c (diff)
parentccf845a9428fd609524194d4c6d6e30e653c449c (diff)
Merge "Reland "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;
}