SetupWizard: Only call isSimMissing for missing sim page
Change-Id: I31062ac17ace92824653c6b996ff16ee564a963e
This commit is contained in:
parent
031e58ebc4
commit
767172a196
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user