Fix "swipe up to switch apps" pop up displaying in SUW while creating

second user.

We unregister quickstep onboarding listeners when nav bar view is
detached. We also update its state when nav bar state changes, but we
are not updating it, while we should, update onboarding state when
disabled flags changes. In this scenario, it's triggered when the second
user is added.

Change-Id: I7da917f27fc0f0b8ae5e2d8262f2fdc331b4646d
Fixes: 80512560
Test: Manual test
This commit is contained in:
Tracy Zhou
2018-06-05 12:09:14 -07:00
parent 85bdd711ce
commit 981409150e

View File

@@ -607,6 +607,7 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav
updateNavButtonIcons();
updateSlippery();
setUpSwipeUpOnboarding(isQuickStepSwipeUpEnabled());
}
public void updateNavButtonIcons() {