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

Commit c0cc6218 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Enables back gesture nav in screen pinning

Bug: 138969972
Test: Back gesture in screen pinning mode
Change-Id: I0ddb7a6e7978e7ec82d7949048e75147c5ece3c8
parent 9249d828
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -188,9 +188,8 @@ public class QuickStepContract {
        if ((sysuiStateFlags & SYSUI_STATE_BOUNCER_SHOWING) != 0) {
            return false;
        }
        // Disable when in screen pinning, immersive, or the notifications are interactive
        int disableFlags = SYSUI_STATE_SCREEN_PINNING
                | SYSUI_STATE_NAV_BAR_HIDDEN
        // Disable when in immersive, or the notifications are interactive
        int disableFlags = SYSUI_STATE_NAV_BAR_HIDDEN
                | SYSUI_STATE_NOTIFICATION_PANEL_EXPANDED
                | SYSUI_STATE_STATUS_BAR_KEYGUARD_SHOWING;
        return (sysuiStateFlags & disableFlags) != 0;