From 203a6e667e6c445a970e60da9c2a1036826cd8e4 Mon Sep 17 00:00:00 2001 From: Mady Mellor Date: Mon, 3 May 2021 12:18:52 -0700 Subject: [PATCH] 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 --- .../src/com/android/systemui/wmshell/BubblesManager.java | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java b/packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java index b95545576e561..10c4a55ad2409 100644 --- a/packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java +++ b/packages/SystemUI/src/com/android/systemui/wmshell/BubblesManager.java @@ -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());