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

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

Merge "Fix group summary suppression logic when without bubbles"

parents 42f80957 da2ab115
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++;
            }
        }