Merge commit 'f66f8a58cc4412bd258e1d5b11cac17a617bdc58' * commit 'f66f8a58cc4412bd258e1d5b11cac17a617bdc58': Add support for the PointerLocation overlay.
This commit is contained in:
@@ -4373,11 +4373,19 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
}
|
||||
return mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_DPAD, sw);
|
||||
}
|
||||
|
||||
|
||||
public boolean hasKeys(int[] keycodes, boolean[] keyExists) {
|
||||
return mInputManager.hasKeys(-1, InputDevice.SOURCE_ANY, keycodes, keyExists);
|
||||
}
|
||||
|
||||
public InputChannel monitorInput(String inputChannelName) {
|
||||
if (!checkCallingPermission(android.Manifest.permission.READ_INPUT_STATE,
|
||||
"monitorInput()")) {
|
||||
throw new SecurityException("Requires READ_INPUT_STATE permission");
|
||||
}
|
||||
return mInputManager.monitorInput(inputChannelName);
|
||||
}
|
||||
|
||||
public void enableScreenAfterBoot() {
|
||||
synchronized(mWindowMap) {
|
||||
if (mSystemBooted) {
|
||||
|
||||
Reference in New Issue
Block a user