Auto-expand the bubble when created via bubble-button

Fixes: 154225344
Test: manual - tap on bubble button from HUN -> bubble auto-expands
             - tap on bubble button from expanded notif in shade ->
               bubble auto-expands
Change-Id: I058696d5cbc6bac12f047e85a795474b8bf62d1d
This commit is contained in:
Mady Mellor
2020-05-12 11:47:55 -07:00
parent db5201d3ab
commit 0577cda90b

View File

@@ -894,6 +894,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) {
}