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

Commit da9a6a2e authored by Lyn Han's avatar Lyn Han
Browse files

Re-inflate overflow bubbles on theme change

Fixes: 149146374
Test: manual - change theme shape, overflow bubbles change shape
Change-Id: I6e4edf062c90244a53522bafb4fb62895566d922
parent 323d6357
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -664,8 +664,11 @@ public class BubbleController implements ConfigurationController.ConfigurationLi
            mStackView.onThemeChanged();
        }
        mBubbleIconFactory = new BubbleIconFactory(mContext);
        for (Bubble b: mBubbleData.getBubbles()) {
        // Reload each bubble
        for (Bubble b: mBubbleData.getBubbles()) {
            b.inflate(null /* callback */, mContext, mStackView, mBubbleIconFactory);
        }
        for (Bubble b: mBubbleData.getOverflowBubbles()) {
            b.inflate(null /* callback */, mContext, mStackView, mBubbleIconFactory);
        }
    }