SetupWizard: Don't register for secure sms if not selected
Change-Id: If17eecb127443d1b0c691af7ff21012a618a1c85
This commit is contained in:
parent
8e52f6cac7
commit
c03556f5ae
@ -128,7 +128,9 @@ public class CyanogenSettingsPage extends SetupPage {
|
||||
|
||||
private void handleWhisperPushRegistration() {
|
||||
Bundle privacyData = getData();
|
||||
if (privacyData != null && privacyData.containsKey(CyanogenSettingsPage.KEY_REGISTER_WHISPERPUSH)) {
|
||||
if (privacyData != null &&
|
||||
privacyData.containsKey(CyanogenSettingsPage.KEY_REGISTER_WHISPERPUSH) &&
|
||||
privacyData.getBoolean(CyanogenSettingsPage.KEY_REGISTER_WHISPERPUSH)) {
|
||||
Log.i(TAG, "Registering with WhisperPush");
|
||||
WhisperPushUtils.startRegistration(mContext);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user