summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2013-01-14 10:33:43 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-01-14 10:33:56 -0800
commit7a4ffa420ca0fc81340df1c3c6a25b3e68ff99b8 (patch)
tree710a0db1130db29dee3cbf572e5c6554ddbe4639 /packages
parent707a71e39e8e3bf284422265b680b73a7c63debf (diff)
parentc0cea0f519798889d93c2b01ad0319c5f1884e34 (diff)
downloadframeworks_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.java9
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();
}