From cf398419e2c081b913229a0a8c7482c09e1b6f97 Mon Sep 17 00:00:00 2001 From: Yongjiang Wu Date: Sat, 20 Feb 2016 18:28:10 +0800 Subject: [PATCH] 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 --- .../SystemUI/src/com/android/systemui/volume/ZenModePanel.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java b/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java index 01d2ca022fb71..cc37dfd7cb329 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() {