You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl,libandroid: Add some stubs, mostly
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user