Disable systemui navigation events while keyguard is showing
am: 1c21fc5e0a
Change-Id: I0cf13e9e6f3cc2cbf0b7e44901f7c41140ceb85f
This commit is contained in:
@@ -2620,7 +2620,8 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
|
|||||||
@Override
|
@Override
|
||||||
public void handleSystemNavigationKey(int key) {
|
public void handleSystemNavigationKey(int key) {
|
||||||
if (SPEW) Log.d(TAG, "handleSystemNavigationKey: " + key);
|
if (SPEW) Log.d(TAG, "handleSystemNavigationKey: " + key);
|
||||||
if (!panelsEnabled() || !mKeyguardMonitor.isDeviceInteractive()) {
|
if (!panelsEnabled() || !mKeyguardMonitor.isDeviceInteractive()
|
||||||
|
|| mKeyguardMonitor.isShowing()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user