Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbc58440 authored by Jim Miller's avatar Jim Miller Committed by android-build-merger
Browse files

Disable systemui navigation events while keyguard is showing

am: 1c21fc5e

Change-Id: I0cf13e9e6f3cc2cbf0b7e44901f7c41140ceb85f
parents 99940d7a 1c21fc5e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
        }