summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java b/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
index ceb9774..c8eb304 100644
--- a/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
+++ b/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
@@ -168,7 +168,9 @@ public class CyanogenSettingsPage extends SetupPage {
final int playServicesAvailable = GooglePlayServicesUtil
.isGooglePlayServicesAvailable(context);
return playServicesAvailable != ConnectionResult.SUCCESS
- || (SetupWizardUtils.hasTelephony(context) && SetupWizardUtils.isSimMissing(context));
+ || !SetupWizardUtils.hasTelephony(context)
+ || (SetupWizardUtils.hasTelephony(context) &&
+ SetupWizardUtils.isSimMissing(context));
}
public static class CyanogenSettingsFragment extends SetupPageFragment {