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

Commit 008fb9dd authored by Harry Cutts's avatar Harry Cutts Committed by Android (Google) Code Review
Browse files

Merge "InputEventConsistencyVerifier: only check actual trackball events" into main

parents 7b0e033b 7757972f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ public final class InputEventConsistencyVerifier {
            final MotionEvent motionEvent = (MotionEvent)event;
            if (motionEvent.isTouchEvent()) {
                onTouchEvent(motionEvent, nestingLevel);
            } else if ((motionEvent.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) {
            } else if (motionEvent.isFromSource(InputDevice.SOURCE_TRACKBALL)) {
                onTrackballEvent(motionEvent, nestingLevel);
            } else {
                onGenericMotionEvent(motionEvent, nestingLevel);