SetupWizard: Add condition for hiding secure sms option
Change-Id: I0287c8119d56fd9a055caa96c8eaba7fb844f236
This commit is contained in:
parent
c8c57d1090
commit
9906c90029
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user