Disable systemui navigation events while keyguard is showing

am: 1c21fc5e0a

Change-Id: I0cf13e9e6f3cc2cbf0b7e44901f7c41140ceb85f
This commit is contained in:
Jim Miller
2016-08-03 01:03:09 +00:00
committed by android-build-merger

View File

@@ -2620,7 +2620,8 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
@Override
public void handleSystemNavigationKey(int key) {
if (SPEW) Log.d(TAG, "handleSystemNavigationKey: " + key);
if (!panelsEnabled() || !mKeyguardMonitor.isDeviceInteractive()) {
if (!panelsEnabled() || !mKeyguardMonitor.isDeviceInteractive()
|| mKeyguardMonitor.isShowing()) {
return;
}