summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2024-04-05 09:12:05 -0700
committer Siarhei Vishniakou <svv@google.com> 2024-04-05 09:13:02 -0700
commitf6d1778bc159441a7f818dfa30b75d7fe2abd664 (patch)
tree2f963184fdb2fc4eaf5774ec9e111b4c0809a808
parent338b474d3a4845b62f97ef45857a5a8ff84ee797 (diff)
Print display id as integer
This is a typo likely due to copy-paste. Bug: none Test: presubmit Change-Id: I5980bac9e6c3c1be59eb0163adb030b95b44a570
-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;
}