api-impl,libandroid: Add some stubs, mostly

This commit is contained in:
Nikita Travkin
2023-09-19 17:37:14 +05:00
committed by Mis012
parent a32961891d
commit d3e5c6ee70
8 changed files with 102 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
package android.hardware.input;
import android.os.Handler;
import android.view.InputDevice;
public class InputManager {
public static interface InputDeviceListener {
@@ -11,4 +12,13 @@ public class InputManager {
public void registerInputDeviceListener(InputManager.InputDeviceListener listener, Handler handler) {
}
public int[] getInputDeviceIds () {
return InputDevice.getDeviceIds();
}
public InputDevice getInputDevice (int id) {
return InputDevice.getDevice(id);
}
}