summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sergey Serokurov <serokurov@google.com> 2022-03-03 14:07:28 -0800
committer Sergey Serokurov <serokurov@google.com> 2022-03-03 14:07:28 -0800
commit724f328045557658607ef60eb7c911088a4ec97f (patch)
tree9d01ddfcc968bbb2cc58f3837924a6dd9be7eb21
parent3e2a850fa69cb3d9b7c36e7c5bee177825c20f6c (diff)
Update FLAG_BUBBLE in BubblesManager#onUserChangedBubble
Bug: 191606745 Test: atest SystemUITests Change-Id: Icc6c9b534b556cf45e7c23e9392a2a3a0c24942a
-rw-r--r--packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java b/packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java
index 69ebfe8012d1..8a961942123b 100644
--- a/packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java
+++ b/packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java
@@ -749,6 +749,8 @@ public class BubblesManager implements Dumpable {
return;
}
+ entry.setFlagBubble(shouldBubble);
+
// Update the state in NotificationManagerService
try {
int flags = Notification.BubbleMetadata.FLAG_SUPPRESS_NOTIFICATION;