summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java
diff options
context:
space:
mode:
authorDanesh M <daneshm90@gmail.com>2016-01-18 18:39:02 -0800
committerDanesh M <daneshm90@gmail.com>2016-01-20 10:33:08 -0800
commitd59304c730d9ff61da8857ad18cf1e0646b363ce (patch)
treecfc03ea37a5c8b5af43b7864b564e1f54e0ed755 /src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java
parentf8e4ab690f3961f2240601b0956c0e1931e6a8d0 (diff)
downloadpackages_apps_SetupWizard-d59304c730d9ff61da8857ad18cf1e0646b363ce.zip
packages_apps_SetupWizard-d59304c730d9ff61da8857ad18cf1e0646b363ce.tar.gz
packages_apps_SetupWizard-d59304c730d9ff61da8857ad18cf1e0646b363ce.tar.bz2
SetupWizard : Switch to mcc/mnc locale
Also ensure we only send stats event once and only if the user actually changed the locale. CYNGNOS-1521 CYNGNOS-1326 Change-Id: I7b0451137e6bf80bf71350da28fe391fc8c52ce8
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java')
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java b/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java
index fa32537..ca0d9de 100644
--- a/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java
+++ b/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java
@@ -89,6 +89,7 @@ public class CMSetupWizardData extends AbstractSetupData {
showHideDataSimPage();
showHideSimMissingPage();
showHideMobileDataPage();
+ updateWelcomePage();
} else if (intent.getAction()
.equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
showHideMobileDataPage();
@@ -160,6 +161,13 @@ public class CMSetupWizardData extends AbstractSetupData {
}
}
+ private void updateWelcomePage() {
+ WelcomePage welcomePage = (WelcomePage) getPage(WelcomePage.TAG);
+ if (welcomePage != null) {
+ welcomePage.simChanged();
+ }
+ }
+
public IntentFilter getIntentFilter() {
IntentFilter filter = new IntentFilter();
if (SetupWizardUtils.hasTelephony(mContext)) {