SetupWizard: Use telephony check
Change-Id: If888fd9dc5865a7d131d18db38be870a8569eeb0
This commit is contained in:
parent
a96968d996
commit
a912fa829f
@ -53,7 +53,7 @@ public class CMSetupWizardData extends AbstractSetupData {
|
||||
ArrayList<Page> pages = new ArrayList<Page>();
|
||||
pages.add(new WelcomePage(mContext, this));
|
||||
pages.add(new WifiSetupPage(mContext, this));
|
||||
if (TelephonyManager.from(mContext).getSimCount() > 0) {
|
||||
if (SetupWizardUtils.hasTelephony(mContext)) {
|
||||
pages.add(new SimCardMissingPage(mContext, this).setHidden(true));
|
||||
}
|
||||
if (SetupWizardUtils.isMultiSimDevice(mContext)) {
|
||||
|
Loading…
Reference in New Issue
Block a user