Merge "Fix bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)"
BIN
core/res/res/drawable-ldrtl-hdpi/ic_lock_airplane_mode_off.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
core/res/res/drawable-ldrtl-hdpi/ic_menu_cc.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
core/res/res/drawable-ldrtl-hdpi/stat_sys_adb.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
core/res/res/drawable-ldrtl-ldpi/ic_lock_airplane_mode_off.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
core/res/res/drawable-ldrtl-ldpi/ic_menu_cc.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
core/res/res/drawable-ldrtl-ldpi/stat_sys_adb.png
Normal file
|
After Width: | Height: | Size: 486 B |
BIN
core/res/res/drawable-ldrtl-mdpi/ic_lock_airplane_mode_off.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
core/res/res/drawable-ldrtl-mdpi/ic_menu_cc.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
core/res/res/drawable-ldrtl-mdpi/stat_sys_adb.png
Normal file
|
After Width: | Height: | Size: 624 B |
BIN
core/res/res/drawable-ldrtl-xhdpi/ic_lock_airplane_mode_off.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
core/res/res/drawable-ldrtl-xhdpi/ic_menu_cc.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
core/res/res/drawable-ldrtl-xhdpi/stat_sys_adb.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
@@ -838,9 +838,14 @@ public class PhoneStatusBar extends BaseStatusBar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void refreshAllStatusBarIcons() {
|
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++) {
|
for (int n = 0; n < count; n++) {
|
||||||
View child = mStatusIcons.getChildAt(n);
|
View child = ll.getChildAt(n);
|
||||||
if (child instanceof StatusBarIconView) {
|
if (child instanceof StatusBarIconView) {
|
||||||
((StatusBarIconView) child).updateDrawable();
|
((StatusBarIconView) child).updateDrawable();
|
||||||
}
|
}
|
||||||
|
|||||||