diff options
author | cretin45 <cretin45@gmail.com> | 2015-10-27 12:44:11 -0700 |
---|---|---|
committer | cretin45 <cretin45@gmail.com> | 2015-10-27 12:44:11 -0700 |
commit | b64d5e7676a1f31f200ae9b5134b5ccd4aab38d4 (patch) | |
tree | b0d51283539b9875c57796516e1ac07f57eb2d3b /src/com/cyanogenmod/setupwizard/setup | |
parent | 41801b0ca2a8d580d57bb1d7072622140b286b1d (diff) | |
download | packages_apps_SetupWizard-b64d5e7676a1f31f200ae9b5134b5ccd4aab38d4.zip packages_apps_SetupWizard-b64d5e7676a1f31f200ae9b5134b5ccd4aab38d4.tar.gz packages_apps_SetupWizard-b64d5e7676a1f31f200ae9b5134b5ccd4aab38d4.tar.bz2 |
SetupWizard: Fix locale picker styling
Change-Id: If336a8321b09513ec8b22f8138a47fb4d94e5913
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup')
-rw-r--r-- | src/com/cyanogenmod/setupwizard/setup/WelcomePage.java | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |