Encrypt inplace settings.

Change-Id: I5b9cb94c987dedecf3bf31cb67a42e2f24866d3b
This commit is contained in:
Jason parks
2011-01-17 09:59:54 -06:00
parent 12c665b2b6
commit 3e8b76319d
4 changed files with 25 additions and 13 deletions

View File

@@ -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);