From f87853c227e67d37b60d213808f672307a928f30 Mon Sep 17 00:00:00 2001 From: Mady Mellor Date: Tue, 9 Jun 2020 15:38:11 -0700 Subject: [PATCH] Fix bubbles returning after a runtime restart If the bubble wasn't showing in the shade, but also wasn't a bubble -- we never updated flag bubble to be false to NoManService. This meant these notifs would be re-added as bubbles after a runtime restart Fixes: 157498034 Test: manual Change-Id: I17c384107f4b21b84597967fe0c369acfcd3a88c --- .../src/com/android/systemui/bubbles/BubbleController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java index 278f3e581a704..9ef681db0c225 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java @@ -1214,7 +1214,7 @@ public class BubbleController implements ConfigurationController.ConfigurationLi } } } else { - if (bubble.isBubble() && bubble.showInShade()) { + if (bubble.isBubble()) { setIsBubble(bubble, false /* isBubble */); } if (bubble.getEntry() != null && bubble.getEntry().getRow() != null) {