am 2b5b83bd: Merge "Improve screenshot chord debouncing. Bug: 5011907"
* commit '2b5b83bda80253a6ff0925ae65da636ed2856def': Improve screenshot chord debouncing. Bug: 5011907
This commit is contained in:
@@ -575,7 +575,7 @@ public class InputManager implements Watchdog.Monitor {
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public boolean interceptKeyBeforeDispatching(InputWindowHandle focus,
|
||||
public long interceptKeyBeforeDispatching(InputWindowHandle focus,
|
||||
KeyEvent event, int policyFlags) {
|
||||
return mWindowManagerService.mInputMonitor.interceptKeyBeforeDispatching(
|
||||
focus, event, policyFlags);
|
||||
|
||||
@@ -288,7 +288,7 @@ final class InputMonitor {
|
||||
|
||||
/* Provides an opportunity for the window manager policy to process a key before
|
||||
* ordinary dispatch. */
|
||||
public boolean interceptKeyBeforeDispatching(
|
||||
public long interceptKeyBeforeDispatching(
|
||||
InputWindowHandle focus, KeyEvent event, int policyFlags) {
|
||||
WindowState windowState = focus != null ? (WindowState) focus.windowState : null;
|
||||
return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags);
|
||||
|
||||
Reference in New Issue
Block a user