Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9906c900 authored by cretin45's avatar cretin45 Committed by Gerrit Code Review
Browse files

SetupWizard: Add condition for hiding secure sms option

Change-Id: I0287c8119d56fd9a055caa96c8eaba7fb844f236
parent c8c57d10
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 {