Merge "Suppress a11y shortcut on emergency dialer"
This commit is contained in:
committed by
Android (Google) Code Review
commit
89863ea4f6
@@ -167,8 +167,10 @@ public final class WindowManagerGlobal {
|
||||
sWindowManagerService = IWindowManager.Stub.asInterface(
|
||||
ServiceManager.getService("window"));
|
||||
try {
|
||||
sWindowManagerService = getWindowManagerService();
|
||||
ValueAnimator.setDurationScale(sWindowManagerService.getCurrentAnimatorScale());
|
||||
if (sWindowManagerService != null) {
|
||||
ValueAnimator.setDurationScale(
|
||||
sWindowManagerService.getCurrentAnimatorScale());
|
||||
}
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
|
||||
@@ -5736,7 +5736,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
mScreenshotChordVolumeDownKeyConsumed = false;
|
||||
cancelPendingPowerKeyAction();
|
||||
interceptScreenshotChord();
|
||||
if (!keyguardActive) {
|
||||
if (!isKeyguardLocked()) {
|
||||
interceptAccessibilityShortcutChord();
|
||||
}
|
||||
}
|
||||
@@ -5754,7 +5754,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
mA11yShortcutChordVolumeUpKeyConsumed = false;
|
||||
cancelPendingPowerKeyAction();
|
||||
cancelPendingScreenshotChordAction();
|
||||
if (!keyguardActive) {
|
||||
if (!isKeyguardLocked()) {
|
||||
interceptAccessibilityShortcutChord();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user