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

Commit b704fbf6 authored by Ats Jenk's avatar Ats Jenk
Browse files

Remove duplicate getActiveBubbles

getActiveBubbles and getBubbles return the same list.
Remove getActiveBubbles that has only usage.

Bug: NA
Test: NA

Change-Id: I61ecaa5491d2ea6b9ffda94d09b68fdbdd6f9c50
parent 8d35fff2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1772,7 +1772,7 @@ public class BubbleController implements ConfigurationChangeListener,
        if (groupKey == null) {
            return bubbleChildren;
        }
        for (Bubble bubble : mBubbleData.getActiveBubbles()) {
        for (Bubble bubble : mBubbleData.getBubbles()) {
            if (bubble.getGroupKey() != null && groupKey.equals(bubble.getGroupKey())) {
                bubbleChildren.add(bubble);
            }
+0 −5
Original line number Diff line number Diff line
@@ -339,11 +339,6 @@ public class BubbleData {
        return mOverflow;
    }

    /** Return a read-only current active bubble lists. */
    public List<Bubble> getActiveBubbles() {
        return Collections.unmodifiableList(mBubbles);
    }

    public void setExpanded(boolean expanded) {
        setExpandedInternal(expanded);
        dispatchPendingChanges();