diff --git a/src/biz/bokhorst/xprivacy/SettingsDialog.java b/src/biz/bokhorst/xprivacy/SettingsDialog.java index 41fa2d108..618f77b97 100644 --- a/src/biz/bokhorst/xprivacy/SettingsDialog.java +++ b/src/biz/bokhorst/xprivacy/SettingsDialog.java @@ -355,18 +355,18 @@ public void onClick(View view) { PrivacyManager.setSetting(null, context, uid, PrivacyManager.cSettingSubscriber, etSubscriber .getText().toString()); PrivacyManager.setSetting(null, context, uid, PrivacyManager.cSettingUa, etUa.getText().toString()); + } - if (uid == 0) { - PrivacyManager.setSetting(null, context, uid, PrivacyManager.cSettingAndroidUsage, - Boolean.toString(cbUsage.isChecked())); - PrivacyManager.setSetting(null, context, uid, PrivacyManager.cSettingLog, - Boolean.toString(cbLog.isChecked())); - } - - PrivacyManager.setSetting(null, context, uid, PrivacyManager.cSettingRandom, - Boolean.toString(cbRandom.isChecked())); + if (uid == 0) { + PrivacyManager.setSetting(null, context, uid, PrivacyManager.cSettingAndroidUsage, + Boolean.toString(cbUsage.isChecked())); + PrivacyManager.setSetting(null, context, uid, PrivacyManager.cSettingLog, + Boolean.toString(cbLog.isChecked())); } + PrivacyManager.setSetting(null, context, uid, PrivacyManager.cSettingRandom, + Boolean.toString(cbRandom.isChecked())); + // Done dlgSettings.dismiss(); }