From b64d5e7676a1f31f200ae9b5134b5ccd4aab38d4 Mon Sep 17 00:00:00 2001 From: cretin45 Date: Tue, 27 Oct 2015 12:44:11 -0700 Subject: SetupWizard: Fix locale picker styling Change-Id: If336a8321b09513ec8b22f8138a47fb4d94e5913 --- src/com/cyanogenmod/setupwizard/setup/WelcomePage.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/com/cyanogenmod/setupwizard/setup') diff --git a/src/com/cyanogenmod/setupwizard/setup/WelcomePage.java b/src/com/cyanogenmod/setupwizard/setup/WelcomePage.java index 3f01e53..b925b32 100644 --- a/src/com/cyanogenmod/setupwizard/setup/WelcomePage.java +++ b/src/com/cyanogenmod/setupwizard/setup/WelcomePage.java @@ -174,6 +174,7 @@ public class WelcomePage extends SetupPage { private final Runnable mUpdateLocale = new Runnable() { public void run() { if (mCurrentLocale != null) { + mLanguagePicker.setEnabled(false); com.android.internal.app.LocalePicker.updateLocale(mCurrentLocale); } } @@ -224,6 +225,7 @@ public class WelcomePage extends SetupPage { } private void onLocaleChanged(Locale paramLocale) { + mLanguagePicker.setEnabled(true); Resources localResources = getActivity().getResources(); Configuration localConfiguration1 = localResources.getConfiguration(); Configuration localConfiguration2 = new Configuration(); -- cgit v1.1