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

Commit 63b50474 authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Hide back button in gestural nav mode when the screen is pinned

Fixes: 136063859
Test: Turn on screen pinning in gestural nav mode and observe no visible
back key

Change-Id: I064ebd3a47bea94ef16c0ce2616b548dd22f718e
parent 33cc3500
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -627,7 +627,7 @@ public class NavigationBarView extends FrameLayout implements
        if (mOverviewProxyService.isEnabled()) {
            // Force disable recents when not in legacy mode
            disableRecent |= !QuickStepContract.isLegacyMode(mNavBarMode);
            if (pinningActive) {
            if (pinningActive && !QuickStepContract.isGesturalMode(mNavBarMode)) {
                disableBack = disableHome = false;
            }
        } else if (pinningActive) {