diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 3227a34..01596dc 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -838,9 +838,14 @@ public class PhoneStatusBar extends BaseStatusBar { } public void refreshAllStatusBarIcons() { - final int count = mStatusIcons.getChildCount(); + refreshAllIconsForLayout(mStatusIcons); + refreshAllIconsForLayout(mNotificationIcons); + } + + private void refreshAllIconsForLayout(LinearLayout ll) { + final int count = ll.getChildCount(); for (int n = 0; n < count; n++) { - View child = mStatusIcons.getChildAt(n); + View child = ll.getChildAt(n); if (child instanceof StatusBarIconView) { ((StatusBarIconView) child).updateDrawable(); } |