From 981409150ebd618b88f81902c873c4a43f8e0c53 Mon Sep 17 00:00:00 2001 From: Tracy Zhou Date: Tue, 5 Jun 2018 12:09:14 -0700 Subject: [PATCH] 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 --- .../com/android/systemui/statusbar/phone/NavigationBarView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java index 0fd8df09eaaa3..2a1f92f5edda8 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java @@ -607,6 +607,7 @@ public class NavigationBarView extends FrameLayout implements PluginListener