diff options
author | Danny Baumann <dannybaumann@web.de> | 2013-01-15 14:44:49 +0100 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2013-01-15 14:44:49 +0100 |
commit | ecdda20610db0060f117562c8aec2848222abc60 (patch) | |
tree | 82d68f6ae02852962a864ee3d01bdd4530ca590c | |
parent | 0df215bbad786000e355c21b41205ed897923406 (diff) | |
download | packages_apps_settings-ecdda20610db0060f117562c8aec2848222abc60.zip packages_apps_settings-ecdda20610db0060f117562c8aec2848222abc60.tar.gz packages_apps_settings-ecdda20610db0060f117562c8aec2848222abc60.tar.bz2 |
Remove app security settings from lockscreen settings.
Change-Id: Id0f4c29bc52117b58392a35804c3cd2b3c7c631b
-rw-r--r-- | src/com/android/settings/SecuritySettings.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/com/android/settings/SecuritySettings.java b/src/com/android/settings/SecuritySettings.java index 9cfaa5f..85d76b3 100644 --- a/src/com/android/settings/SecuritySettings.java +++ b/src/com/android/settings/SecuritySettings.java @@ -382,15 +382,15 @@ public class SecuritySettings extends SettingsPreferenceFragment mToggleVerifyApps.setEnabled(false); } } - } - boolean isTelephony = pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); - if (isTelephony) { - addPreferencesFromResource(R.xml.security_settings_app_cyanogenmod); - mSmsSecurityCheck = (ListPreference) root.findPreference(KEY_SMS_SECURITY_CHECK_PREF); - mSmsSecurityCheck.setOnPreferenceChangeListener(this); - int smsSecurityCheck = Integer.valueOf(mSmsSecurityCheck.getValue()); - updateSmsSecuritySummary(smsSecurityCheck); + boolean isTelephony = pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); + if (isTelephony) { + addPreferencesFromResource(R.xml.security_settings_app_cyanogenmod); + mSmsSecurityCheck = (ListPreference) root.findPreference(KEY_SMS_SECURITY_CHECK_PREF); + mSmsSecurityCheck.setOnPreferenceChangeListener(this); + int smsSecurityCheck = Integer.valueOf(mSmsSecurityCheck.getValue()); + updateSmsSecuritySummary(smsSecurityCheck); + } } return root; |