Merge "ANDROID: Fix EventLog string class problem in ViewRootImpl#enqueueInputEvent()"
This commit is contained in:
@@ -8448,13 +8448,13 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
MotionEvent me = (MotionEvent) event;
|
MotionEvent me = (MotionEvent) event;
|
||||||
if (me.getAction() == MotionEvent.ACTION_CANCEL) {
|
if (me.getAction() == MotionEvent.ACTION_CANCEL) {
|
||||||
EventLog.writeEvent(EventLogTags.VIEW_ENQUEUE_INPUT_EVENT, "Motion - Cancel",
|
EventLog.writeEvent(EventLogTags.VIEW_ENQUEUE_INPUT_EVENT, "Motion - Cancel",
|
||||||
getTitle());
|
getTitle().toString());
|
||||||
}
|
}
|
||||||
} else if (event instanceof KeyEvent) {
|
} else if (event instanceof KeyEvent) {
|
||||||
KeyEvent ke = (KeyEvent) event;
|
KeyEvent ke = (KeyEvent) event;
|
||||||
if (ke.isCanceled()) {
|
if (ke.isCanceled()) {
|
||||||
EventLog.writeEvent(EventLogTags.VIEW_ENQUEUE_INPUT_EVENT, "Key - Cancel",
|
EventLog.writeEvent(EventLogTags.VIEW_ENQUEUE_INPUT_EVENT, "Key - Cancel",
|
||||||
getTitle());
|
getTitle().toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Always enqueue the input event in order, regardless of its time stamp.
|
// Always enqueue the input event in order, regardless of its time stamp.
|
||||||
|
|||||||
Reference in New Issue
Block a user