diff options
Diffstat (limited to 'src/com/android/settings/privacyguard/PrivacyGuardPrefs.java')
-rw-r--r-- | src/com/android/settings/privacyguard/PrivacyGuardPrefs.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/privacyguard/PrivacyGuardPrefs.java b/src/com/android/settings/privacyguard/PrivacyGuardPrefs.java index d2417a3..060e617 100644 --- a/src/com/android/settings/privacyguard/PrivacyGuardPrefs.java +++ b/src/com/android/settings/privacyguard/PrivacyGuardPrefs.java @@ -55,7 +55,7 @@ public class PrivacyGuardPrefs extends SettingsPreferenceFragment implements mPrivacyGuardDefault = (SwitchPreference) findPreference(KEY_PRIVACY_GUARD_DEFAULT); mPrivacyGuardDefault.setOnPreferenceChangeListener(this); - mPrivacyGuardDefault.setChecked(Settings.Secure.getInt(getContentResolver(), + mPrivacyGuardDefault.setChecked(CMSettings.Secure.getInt(getContentResolver(), CMSettings.Secure.PRIVACY_GUARD_DEFAULT, 0) == 1); } @@ -75,7 +75,7 @@ public class PrivacyGuardPrefs extends SettingsPreferenceFragment implements public boolean onPreferenceChange(Preference preference, Object newValue) { if (preference == mPrivacyGuardDefault) { boolean value = (Boolean) newValue; - Settings.Secure.putInt(getContentResolver(), + CMSettings.Secure.putInt(getContentResolver(), CMSettings.Secure.PRIVACY_GUARD_DEFAULT, value ? 1 : 0); return true; } |