Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36209360 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't show dot when bubble is expanded & gets update" into qt-r1-bubbles-dev

parents 693ebf17 be341bfd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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);
    }