Encrypt inplace settings.
Change-Id: I5b9cb94c987dedecf3bf31cb67a42e2f24866d3b
This commit is contained in:
@@ -406,8 +406,6 @@ public class SecuritySettings extends SettingsPreferenceFragment
|
||||
} else if (preference == mAssistedGps) {
|
||||
Settings.Secure.putInt(getContentResolver(), Settings.Secure.ASSISTED_GPS_ENABLED,
|
||||
mAssistedGps.isChecked() ? 1 : 0);
|
||||
} else if (KEY_ENCRYPTION.equals(key)) {
|
||||
new Encryption().showPasswordDialog();
|
||||
} else {
|
||||
// If we didn't handle it, let preferences handle it.
|
||||
return super.onPreferenceTreeClick(preferenceScreen, preference);
|
||||
|
Reference in New Issue
Block a user