summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2021-05-03 12:18:52 -0700
committer Mady Mellor <madym@google.com> 2021-05-03 13:53:35 -0700
commit203a6e667e6c445a970e60da9c2a1036826cd8e4 (patch)
tree72d753c3d78cd3a96018277cfca61bf88f968b80
parentb9645629b177bbb57d2e694b3e902216df6fe9ad (diff)
Don't auto expand the bubble when it's marked as priority
Bug: 186684456 Test: manual - get a convo notif that can bubble - mark it as priority => notice the bubble is created but not auto-expanded Change-Id: I4eec565bb1e32cbe4a53fa1e7db73f35fbabe730
-rw-r--r--packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java b/packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java
index b95545576e56..10c4a55ad240 100644
--- a/packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java
+++ b/packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java
@@ -675,7 +675,6 @@ public class BubblesManager implements Dumpable {
}
try {
int flags = Notification.BubbleMetadata.FLAG_SUPPRESS_NOTIFICATION;
- flags |= Notification.BubbleMetadata.FLAG_AUTO_EXPAND_BUBBLE;
mBarService.onNotificationBubbleChanged(entry.getKey(), true, flags);
} catch (RemoteException e) {
Log.e(TAG, e.getMessage());