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

Commit 622a7e6a authored by Matthew Ng's avatar Matthew Ng
Browse files

Prevent quickscrub/switch from occuring when keyguard is up

When activity over lockscreen is visible and keyguard is up, user will
not be able to start quickscrub.

Change-Id: I018e0b448cdcc3d71a1f782959d633b7bc5dd627
Fixes: 73709365
Test: manual - at lockscreen launch camera and try to quickscrub
parent 008c4dbc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ public class NavigationBarGestureHelper implements TunerService.Tunable, Gesture
    }

    public boolean onInterceptTouchEvent(MotionEvent event) {
        if (mNavigationBarView.inScreenPinning()) {
        if (mNavigationBarView.inScreenPinning() || mStatusBar.isKeyguardShowing()) {
            return false;
        }

@@ -182,7 +182,7 @@ public class NavigationBarGestureHelper implements TunerService.Tunable, Gesture
    }

    public boolean onTouchEvent(MotionEvent event) {
        if (mNavigationBarView.inScreenPinning()) {
        if (mNavigationBarView.inScreenPinning() || mStatusBar.isKeyguardShowing()) {
            return false;
        }