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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user