api-impl: add misc stubs

This commit is contained in:
Mis012
2023-08-12 13:09:33 +02:00
parent a1aa38c7b8
commit 4a1159f5cb
23 changed files with 5155 additions and 26 deletions

View File

@@ -1,6 +1,10 @@
package android.view;
public class InputDevice {
public static final int SOURCE_CLASS_BUTTON = 0x00000001;
public static final int SOURCE_KEYBOARD = 0x00000100 | SOURCE_CLASS_BUTTON;
public static int[] getDeviceIds() {
return new int[] {0}; // might work?
}