summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-02-23 16:03:47 -0800
committercretin45 <cretin45@gmail.com>2015-02-23 16:03:47 -0800
commit1d54e5207a6e8e63dc19e5392bf9cfab967310bf (patch)
tree01addf39fbd106c94da259cc1d1461e4222a8b5e /src/com/cyanogenmod/setupwizard/setup
parentd385c7e9063b193c00e7d3ff59b536e6bfe2dfd5 (diff)
downloadpackages_apps_SetupWizard-1d54e5207a6e8e63dc19e5392bf9cfab967310bf.zip
packages_apps_SetupWizard-1d54e5207a6e8e63dc19e5392bf9cfab967310bf.tar.gz
packages_apps_SetupWizard-1d54e5207a6e8e63dc19e5392bf9cfab967310bf.tar.bz2
SetupWizard: Auto advance sim missing page if sim inserted
Change-Id: I3105a264bb9ae13c513398ae19d541ae194b7331
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup')
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java b/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java
index 92ad15a..1987a96 100644
--- a/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java
+++ b/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java
@@ -80,6 +80,9 @@ public class CMSetupWizardData extends AbstractSetupData {
(SimCardMissingPage) getPage(SimCardMissingPage.TAG);
if (simCardMissingPage != null) {
simCardMissingPage.setHidden(isSimInserted());
+ if (isCurrentPage(simCardMissingPage)) {
+ onNextPage();
+ }
}
showHideMobileDataPage();
} else if (intent.getAction()