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

Commit b972663f authored by Yeabkal Wubshit's avatar Yeabkal Wubshit Committed by Android (Google) Code Review
Browse files

Merge "Copy FocusEventDebugView MotionEvent before it gets recycled" into main

parents 2e661a10 d14f0147
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -240,7 +240,8 @@ public class FocusEventDebugView extends RelativeLayout {
            return;
        }

        post(() -> handleRotaryInput(MotionEvent.obtain((MotionEvent) event)));
        MotionEvent motionEvent = MotionEvent.obtain(event);
        post(() -> handleRotaryInput(motionEvent));
    }

    private void handleKeyEvent(KeyEvent keyEvent) {