Loading services/core/java/com/android/server/input/debug/FocusEventDebugView.java +2 −1 Original line number Diff line number Diff line Loading @@ -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. */ Loading Loading
services/core/java/com/android/server/input/debug/FocusEventDebugView.java +2 −1 Original line number Diff line number Diff line Loading @@ -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. */ Loading