summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2024-04-18 16:46:32 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-04-18 16:46:32 +0000
commitccf845a9428fd609524194d4c6d6e30e653c449c (patch)
tree2f963184fdb2fc4eaf5774ec9e111b4c0809a808
parent14b8647ffd36bbe4c324f96b573afbcb41dfc53c (diff)
Reland "Print display id as integer"
This reverts commit 14b8647ffd36bbe4c324f96b573afbcb41dfc53c. Reason for revert: should not have been reverted in the first place Change-Id: I98c3131277d35acdd8cc154235519f61121da59a
-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;
}