Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java +10 −0 Original line number Diff line number Diff line Loading @@ -2508,6 +2508,16 @@ public class BubbleController implements ConfigurationChangeListener, mSysuiProxy.requestNotificationShadeTopUi(true, TAG); } if (Flags.enableBubbleSwipeUpCleanup() && !update.removedBubbles.isEmpty() && !mBubbleData.hasBubbles()) { // This update removed all the bubbles. Send an update to SystemUI to mark the stack // collapsed. This should be sent by the UI classes (BubbleStackView or // BubbleBarLayerView), but if we fail to send this, home gesture stops working. // To avoid leaving the device in a bad state, add a failsafe call here to clean // up the state. mSysuiProxy.onStackExpandChanged(false); } mSysuiProxy.notifyInvalidateNotifications("BubbleData.Listener.applyUpdate"); updateBubbleViews(); Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java +10 −0 Original line number Diff line number Diff line Loading @@ -2508,6 +2508,16 @@ public class BubbleController implements ConfigurationChangeListener, mSysuiProxy.requestNotificationShadeTopUi(true, TAG); } if (Flags.enableBubbleSwipeUpCleanup() && !update.removedBubbles.isEmpty() && !mBubbleData.hasBubbles()) { // This update removed all the bubbles. Send an update to SystemUI to mark the stack // collapsed. This should be sent by the UI classes (BubbleStackView or // BubbleBarLayerView), but if we fail to send this, home gesture stops working. // To avoid leaving the device in a bad state, add a failsafe call here to clean // up the state. mSysuiProxy.onStackExpandChanged(false); } mSysuiProxy.notifyInvalidateNotifications("BubbleData.Listener.applyUpdate"); updateBubbleViews(); Loading