Merge "Re-inflate overflow bubbles on theme change" into rvc-dev am: 12d9239069 am: 8d4ab515fa

Change-Id: Ib54cc91bf537302c4f1ae995d8fd80c5ca9ed908
This commit is contained in:
TreeHugger Robot
2020-04-27 23:08:09 +00:00
committed by Automerger Merge Worker

View File

@@ -669,8 +669,11 @@ public class BubbleController implements ConfigurationController.ConfigurationLi
mStackView.onThemeChanged(); mStackView.onThemeChanged();
} }
mBubbleIconFactory = new BubbleIconFactory(mContext); mBubbleIconFactory = new BubbleIconFactory(mContext);
for (Bubble b: mBubbleData.getBubbles()) {
// Reload each bubble // 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); b.inflate(null /* callback */, mContext, mStackView, mBubbleIconFactory);
} }
} }