summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yongjiang Wu <yongjiang.x.wu@sonymobile.com> 2016-02-20 18:28:10 +0800
committer Zoran Jovanovic <zoran.jovanovic@sonymobile.com> 2016-03-31 07:59:10 +0200
commitcf398419e2c081b913229a0a8c7482c09e1b6f97 (patch)
treeacad4fc7fe309b2f970122109a6cd8bde480ad02
parent1a11efba2bf3bc12fab53df1185dad4756d6b313 (diff)
Fix: the label "customize" is not updated after changing language
The text "customize" is not updated in onConfigurationChanged() after changing language, so the "customize" text is displayed incorrectly. Change-Id: Id6ecdff1f22724955fb1080609da15ccd38d2209
-rw-r--r--packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java b/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java
index 01d2ca022fb7..cc37dfd7cb32 100644
--- a/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java
+++ b/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java
@@ -194,6 +194,9 @@ public class ZenModePanel extends LinearLayout {
if (mZenButtons != null) {
mZenButtons.updateLocale();
}
+ if (mZenIntroductionCustomize != null) {
+ mZenIntroductionCustomize.setText(R.string.zen_priority_customize_button);
+ }
}
private void confirmZenIntroduction() {