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

Commit d41454b6 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge "Stop system process crash in TouchExplorer" into oc-dev am:...

Merge "Merge "Stop system process crash in TouchExplorer" into oc-dev am: be70141e" into oc-dev-plus-aosp
parents dcfc1aaa ca961e45
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -938,7 +938,12 @@ class TouchExplorer implements EventStreamTransformation, AccessibilityGestureDe
        if (pointerIdBits == ALL_POINTER_ID_BITS) {
            event = prototype;
        } else {
            try {
                event = prototype.split(pointerIdBits);
            } catch (IllegalArgumentException e) {
                Slog.e(LOG_TAG, "sendMotionEvent: Failed to split motion event: " + e);
                return;
            }
        }
        if (action == MotionEvent.ACTION_DOWN) {
            event.setDownTime(event.getEventTime());