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
This commit is contained in:
Mady Mellor
2021-05-03 12:18:52 -07:00
parent b9645629b1
commit 203a6e667e

View File

@@ -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());