diff options
author | cretin45 <cretin45@gmail.com> | 2015-03-09 14:49:31 -0700 |
---|---|---|
committer | cretin45 <cretin45@gmail.com> | 2015-03-09 14:49:31 -0700 |
commit | 0d31b31aac79be0d9ffd3fb2d8045be0fa236505 (patch) | |
tree | 3ff5445639f1fd992a6e5ad776d9b88fed812232 /src/com/cyanogenmod/setupwizard/setup | |
parent | 7732b7485d9dc145ca9093d22cb08259203719d0 (diff) | |
download | packages_apps_SetupWizard-0d31b31aac79be0d9ffd3fb2d8045be0fa236505.zip packages_apps_SetupWizard-0d31b31aac79be0d9ffd3fb2d8045be0fa236505.tar.gz packages_apps_SetupWizard-0d31b31aac79be0d9ffd3fb2d8045be0fa236505.tar.bz2 |
SetupWizard: Refactor for better transitions out of OOBE
Change-Id: If91da3f44dbc5383236b54da529953d48a475250
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup')
-rw-r--r-- | src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java b/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java index 6550bcb..e6ee1de 100644 --- a/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java +++ b/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java @@ -86,7 +86,9 @@ public class CMSetupWizardData extends AbstractSetupData { } showHideMobileDataPage(); } else if (intent.getAction() - .equals(ConnectivityManager.CONNECTIVITY_ACTION)) { + .equals(ConnectivityManager.CONNECTIVITY_ACTION) || + intent.getAction() + .equals(ConnectivityManager.CONNECTIVITY_ACTION_IMMEDIATE)) { showHideAccountPages(); } else if (intent.getAction() .equals(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED)) { @@ -139,6 +141,7 @@ public class CMSetupWizardData extends AbstractSetupData { filter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); filter.addAction(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED); } + filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION_IMMEDIATE); filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); filter.addAction(Intent.ACTION_TIME_CHANGED); |