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

Commit 26e8fc01 authored by Jim Miller's avatar Jim Miller
Browse files

Fix bug where swiping on the fp sensor when the screen is off causes blank screen

Fixes bug 29834150

Change-Id: Idcb45a9e9cff9313f737a6896bfbb54b3bfc1472
parent 0e5ac11d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2586,7 +2586,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
    @Override
    public void handleSystemNavigationKey(int key) {
        if (SPEW) Log.d(TAG, "handleSystemNavigationKey: " + key);
        if (!panelsEnabled()) {
        if (!panelsEnabled() || !mKeyguardMonitor.isDeviceInteractive()) {
            return;
        }

+4 −0
Original line number Diff line number Diff line
@@ -112,6 +112,10 @@ public final class KeyguardMonitor extends KeyguardUpdateMonitorCallback {
        notifyKeyguardChanged();
    }

    public boolean isDeviceInteractive() {
        return mKeyguardUpdateMonitor.isDeviceInteractive();
    }

    private void updateCanSkipBouncerState() {
        mCanSkipBouncer = mKeyguardUpdateMonitor.getUserCanSkipBouncer(mCurrentUser);
    }