summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2020-05-15 18:21:13 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-05-15 18:21:13 +0000
commit21ebdf80dd92d5275a3bc8744d3edad7b4c5542c (patch)
tree985c905002bf441bb1b2f3a6f095e64b61df619c
parent48105b5c6ea1c540a02ba594738fbe874d69f3d3 (diff)
parent0577cda90b1f4b72e3d0deefd1c369607bc99fc3 (diff)
Merge "Auto-expand the bubble when created via bubble-button" into rvc-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java
index 25bc7959a6cd..8707d389858b 100644
--- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java
+++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java
@@ -911,6 +911,7 @@ public class BubbleController implements ConfigurationController.ConfigurationLi
// Update the state in NotificationManagerService
try {
int flags = Notification.BubbleMetadata.FLAG_SUPPRESS_NOTIFICATION;
+ flags |= Notification.BubbleMetadata.FLAG_AUTO_EXPAND_BUBBLE;
mBarService.onNotificationBubbleChanged(entry.getKey(), shouldBubble, flags);
} catch (RemoteException e) {
}