Fix issue with slippery state for quickstep button case.
Bug: 76033653 Test: Swipe up with quickstep fallback activity Change-Id: I417b9f2fadeb87cbf2daac57a53e7ff9990335a0
This commit is contained in:
@@ -679,11 +679,12 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav
|
||||
|
||||
public void updateStates() {
|
||||
updateSlippery();
|
||||
reloadNavIcons();
|
||||
updateNavButtonIcons();
|
||||
}
|
||||
|
||||
private void updateSlippery() {
|
||||
setSlippery(mOverviewProxyService.getProxy() != null && mPanelView.isFullyExpanded());
|
||||
setSlippery(!isQuickStepSwipeUpEnabled() || mPanelView.isFullyExpanded());
|
||||
}
|
||||
|
||||
private void setSlippery(boolean slippery) {
|
||||
@@ -818,8 +819,6 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav
|
||||
public void onOverviewProxyConnectionChanged(boolean isConnected) {
|
||||
updateStates();
|
||||
setUpSwipeUpOnboarding(isQuickStepSwipeUpEnabled());
|
||||
reloadNavIcons();
|
||||
updateNavButtonIcons();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user