Loading packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java +5 −0 Original line number Diff line number Diff line Loading @@ -736,6 +736,11 @@ public class BubbleController implements ConfigurationController.ConfigurationLi boolean suppressNotification = entry.getBubbleMetadata() != null && entry.getBubbleMetadata().isNotificationSuppressed() && isForegroundApp(mContext, entry.notification.getPackageName()); Bubble b = mBubbleData.getBubbleWithKey(entry.key); if (b != null && mBubbleData.getSelectedBubble() == b && mBubbleData.isExpanded()) { // If we're expanded & selected don't show in shade suppressNotification = true; } entry.setShowInShadeWhenBubble(!suppressNotification); } Loading Loading
packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java +5 −0 Original line number Diff line number Diff line Loading @@ -736,6 +736,11 @@ public class BubbleController implements ConfigurationController.ConfigurationLi boolean suppressNotification = entry.getBubbleMetadata() != null && entry.getBubbleMetadata().isNotificationSuppressed() && isForegroundApp(mContext, entry.notification.getPackageName()); Bubble b = mBubbleData.getBubbleWithKey(entry.key); if (b != null && mBubbleData.getSelectedBubble() == b && mBubbleData.isExpanded()) { // If we're expanded & selected don't show in shade suppressNotification = true; } entry.setShowInShadeWhenBubble(!suppressNotification); } Loading