commit | da9a6a2e930be4e860683621f147e54a8363c4cf | [log] [tgz] |
---|---|---|
author | Lyn Han <lynhan@google.com> | Fri Apr 24 13:21:43 2020 -0700 |
committer | Lyn Han <lynhan@google.com> | Fri Apr 24 13:21:43 2020 -0700 |
tree | f448c4f155db9499abd17f3355c46d494e8a3d59 | |
parent | 323d63572df3c4bff249302a8bbe526129928d7e [diff] |
Re-inflate overflow bubbles on theme change Fixes: 149146374 Test: manual - change theme shape, overflow bubbles change shape Change-Id: I6e4edf062c90244a53522bafb4fb62895566d922
diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java index e488cf2..9f5d6bc 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java
@@ -664,8 +664,11 @@ 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); } }