Merge "Re-inflate overflow bubbles on theme change" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-27 22:40:19 +00:00
committed by Android (Google) Code Review

View File

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