diff options
author | cretin45 <cretin45@gmail.com> | 2015-02-09 10:15:41 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-02-10 18:14:11 +0000 |
commit | 9906c90029f7f8e4b8ed0f2052dc53e6b6714309 (patch) | |
tree | da345ba8feb0d4ca05c3d449faec549b3cf1c37c /src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java | |
parent | c8c57d10901218c4e9c9744296f893d147287115 (diff) | |
download | packages_apps_SetupWizard-9906c90029f7f8e4b8ed0f2052dc53e6b6714309.zip packages_apps_SetupWizard-9906c90029f7f8e4b8ed0f2052dc53e6b6714309.tar.gz packages_apps_SetupWizard-9906c90029f7f8e4b8ed0f2052dc53e6b6714309.tar.bz2 |
SetupWizard: Add condition for hiding secure sms option
Change-Id: I0287c8119d56fd9a055caa96c8eaba7fb844f236
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java')
-rw-r--r-- | src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java | 4 |
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 { |