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:
@@ -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) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user