SetupWizard: Auto advance sim missing page if sim inserted

Change-Id: I3105a264bb9ae13c513398ae19d541ae194b7331
This commit is contained in:
cretin45 2015-02-23 16:03:47 -08:00
parent d385c7e906
commit 1d54e5207a

View File

@ -80,6 +80,9 @@ public class CMSetupWizardData extends AbstractSetupData {
(SimCardMissingPage) getPage(SimCardMissingPage.TAG); (SimCardMissingPage) getPage(SimCardMissingPage.TAG);
if (simCardMissingPage != null) { if (simCardMissingPage != null) {
simCardMissingPage.setHidden(isSimInserted()); simCardMissingPage.setHidden(isSimInserted());
if (isCurrentPage(simCardMissingPage)) {
onNextPage();
}
} }
showHideMobileDataPage(); showHideMobileDataPage();
} else if (intent.getAction() } else if (intent.getAction()