Merge "ANDROID: Fix EventLog string class problem in ViewRootImpl#enqueueInputEvent()" am: 808e0a5e7a am: d3b9a7f1b2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909899 Change-Id: I112425b087412ffd10ba7ab8bd38a0477c5d1388
This commit is contained in:
@@ -8464,13 +8464,13 @@ public final class ViewRootImpl implements ViewParent,
|
||||
MotionEvent me = (MotionEvent) event;
|
||||
if (me.getAction() == MotionEvent.ACTION_CANCEL) {
|
||||
EventLog.writeEvent(EventLogTags.VIEW_ENQUEUE_INPUT_EVENT, "Motion - Cancel",
|
||||
getTitle());
|
||||
getTitle().toString());
|
||||
}
|
||||
} else if (event instanceof KeyEvent) {
|
||||
KeyEvent ke = (KeyEvent) event;
|
||||
if (ke.isCanceled()) {
|
||||
EventLog.writeEvent(EventLogTags.VIEW_ENQUEUE_INPUT_EVENT, "Key - Cancel",
|
||||
getTitle());
|
||||
getTitle().toString());
|
||||
}
|
||||
}
|
||||
// Always enqueue the input event in order, regardless of its time stamp.
|
||||
|
||||
Reference in New Issue
Block a user