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

Commit 6629f13e authored by Jeff DeCew's avatar Jeff DeCew Committed by Android (Google) Code Review
Browse files

Merge "Fix group summary suppression logic when without bubbles" into sc-dev

parents 5f55befb e33cf0df
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -242,12 +242,12 @@ public class NotificationGroupManagerLegacy implements OnHeadsUpChangedListener,
        int childCount = 0;
        boolean hasBubbles = false;
        for (NotificationEntry entry : group.children.values()) {
            if (mBubblesOptional.isPresent() && !mBubblesOptional.get()
            if (mBubblesOptional.isPresent() && mBubblesOptional.get()
                    .isBubbleNotificationSuppressedFromShade(
                            entry.getKey(), entry.getSbn().getGroupKey())) {
                childCount++;
            } else {
                hasBubbles = true;
            } else {
                childCount++;
            }
        }