Merge "Auto-expand the bubble when created via bubble-button" into rvc-dev

This commit is contained in:
Mady Mellor
2020-05-15 18:21:13 +00:00
committed by Android (Google) Code Review

View File

@@ -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) {
}