SetupWizard: Only call isSimMissing for missing sim page

Change-Id: I31062ac17ace92824653c6b996ff16ee564a963e
This commit is contained in:
cretin45 2015-01-27 15:29:04 -08:00
parent 031e58ebc4
commit 767172a196

View File

@ -34,7 +34,7 @@ public class CMSetupWizardData extends AbstractSetupData {
ArrayList<SetupPage> pages = new ArrayList<SetupPage>(); ArrayList<SetupPage> pages = new ArrayList<SetupPage>();
pages.add(new WelcomePage(mContext, this)); pages.add(new WelcomePage(mContext, this));
pages.add(new WifiSetupPage(mContext, this)); pages.add(new WifiSetupPage(mContext, this));
if (SetupWizardUtils.isGSMPhone(mContext) && SetupWizardUtils.isSimMissing(mContext)) { if (SetupWizardUtils.isSimMissing(mContext)) {
pages.add(new SimCardMissingPage(mContext, this)); pages.add(new SimCardMissingPage(mContext, this));
} }
if (SetupWizardUtils.isMultiSimDevice(mContext) if (SetupWizardUtils.isMultiSimDevice(mContext)