Loading core/java/android/hardware/input/VirtualDpad.java +8 −0 Original line number Diff line number Diff line Loading @@ -79,4 +79,12 @@ public class VirtualDpad extends VirtualInputDevice { throw e.rethrowFromSystemServer(); } } /** * Returns whether the given key code is supported by this Dpad device. * @hide */ public boolean isKeyCodeSupported(int keyCode) { return SUPPORTED_KEY_CODES.contains(keyCode); } } Loading
core/java/android/hardware/input/VirtualDpad.java +8 −0 Original line number Diff line number Diff line Loading @@ -79,4 +79,12 @@ public class VirtualDpad extends VirtualInputDevice { throw e.rethrowFromSystemServer(); } } /** * Returns whether the given key code is supported by this Dpad device. * @hide */ public boolean isKeyCodeSupported(int keyCode) { return SUPPORTED_KEY_CODES.contains(keyCode); } }