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

Commit 5c0284fa authored by Vaibhav Devmurari's avatar Vaibhav Devmurari
Browse files

Fix Debugview keys not getting removed from screen

Bug: 327603862
Test: manual
Change-Id: I67faa8d80e2d627fb1d4e5d5d1db6fcc3a318243
parent daaed655
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -229,7 +229,8 @@ public class FocusEventDebugView extends RelativeLayout {
    /** Report a key event to the debug view. */
    @AnyThread
    public void reportKeyEvent(KeyEvent event) {
        post(() -> handleKeyEvent(KeyEvent.obtain((KeyEvent) event)));
        KeyEvent keyEvent = KeyEvent.obtain(event);
        post(() -> handleKeyEvent(keyEvent));
    }

    /** Report a motion event to the debug view. */