diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-04-12 18:55:57 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-04-12 18:55:57 -0700 |
commit | 882735972e9e7ee52a3116a3aba0440968b2da1a (patch) | |
tree | be12d9a5d1f8608629d74382f6f1927eadcbbdb8 /api | |
parent | d4fecc2567ca54427b9c86900bccbc7103ea8fde (diff) | |
parent | af9e8d38184c6ba4d2d3eb5bde7014a66dd8a78b (diff) | |
download | frameworks_base-882735972e9e7ee52a3116a3aba0440968b2da1a.zip frameworks_base-882735972e9e7ee52a3116a3aba0440968b2da1a.tar.gz frameworks_base-882735972e9e7ee52a3116a3aba0440968b2da1a.tar.bz2 |
Merge "Notify applications when input devices change."
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index b2a8b2d..c62a2c3 100644 --- a/api/current.txt +++ b/api/current.txt @@ -9822,10 +9822,20 @@ package android.hardware { package android.hardware.input { public final class InputManager { + method public android.view.InputDevice getInputDevice(int); + method public int[] getInputDeviceIds(); + method public void registerInputDeviceListener(android.hardware.input.InputManager.InputDeviceListener, android.os.Handler); + method public void unregisterInputDeviceListener(android.hardware.input.InputManager.InputDeviceListener); field public static final java.lang.String ACTION_QUERY_KEYBOARD_LAYOUTS = "android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS"; field public static final java.lang.String META_DATA_KEYBOARD_LAYOUTS = "android.hardware.input.metadata.KEYBOARD_LAYOUTS"; } + public static abstract interface InputManager.InputDeviceListener { + method public abstract void onInputDeviceAdded(int); + method public abstract void onInputDeviceChanged(int); + method public abstract void onInputDeviceRemoved(int); + } + } package android.hardware.usb { |