Merge "ANDROID: Fix EventLog string class problem in ViewRootImpl#enqueueInputEvent()" am: 808e0a5e7a am: d3b9a7f1b2 am: bb269bc6e4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909899 Change-Id: I718e10a27a823cd46c6c6751acca5bbe7b701290
This commit is contained in:
@@ -8586,13 +8586,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