Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 808e0a5e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "ANDROID: Fix EventLog string class problem in ViewRootImpl#enqueueInputEvent()"

parents 4bfa0ebc beb8f3f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8448,13 +8448,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.