diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2013-01-14 10:33:43 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-01-14 10:33:56 -0800 |
commit | 7a4ffa420ca0fc81340df1c3c6a25b3e68ff99b8 (patch) | |
tree | 710a0db1130db29dee3cbf572e5c6554ddbe4639 /packages | |
parent | 707a71e39e8e3bf284422265b680b73a7c63debf (diff) | |
parent | c0cea0f519798889d93c2b01ad0319c5f1884e34 (diff) | |
download | frameworks_base-7a4ffa420ca0fc81340df1c3c6a25b3e68ff99b8.zip frameworks_base-7a4ffa420ca0fc81340df1c3c6a25b3e68ff99b8.tar.gz frameworks_base-7a4ffa420ca0fc81340df1c3c6a25b3e68ff99b8.tar.bz2 |
Merge "Fix bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)"
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(); } |