Update SecuritySettings to use SwitchPreference
Fixes bug 16900059 Change-Id: Ic3d498c3c4da32f1ba75559073957bb1087912f1
This commit is contained in:
@@ -31,12 +31,12 @@
|
||||
android:key="biometric_weak_improve_matching"
|
||||
android:title="@string/biometric_weak_improve_matching_title"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:key="biometric_weak_liveliness"
|
||||
android:title="@string/biometric_weak_liveliness_title"
|
||||
android:summary="@string/biometric_weak_liveliness_summary"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:key="visiblepattern"
|
||||
android:title="@string/lockpattern_settings_enable_visible_pattern_title"/>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
android:entryValues="@array/lock_after_timeout_values"
|
||||
android:persistent="false"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:key="power_button_instantly_locks"
|
||||
android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/>
|
||||
|
||||
|
@@ -36,7 +36,7 @@
|
||||
<PreferenceCategory android:title="@string/security_passwords_title"
|
||||
android:persistent="false">
|
||||
|
||||
<CheckBoxPreference android:key="show_password"
|
||||
<SwitchPreference android:key="show_password"
|
||||
android:title="@string/show_password"
|
||||
android:persistent="false"/>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
android:persistent="false"
|
||||
android:fragment="com.android.settings.DeviceAdminSettings"/>
|
||||
|
||||
<CheckBoxPreference android:key="toggle_install_applications"
|
||||
<SwitchPreference android:key="toggle_install_applications"
|
||||
android:title="@string/install_applications"
|
||||
android:summaryOff="@string/install_unknown_applications"
|
||||
android:summaryOn="@string/install_unknown_applications"
|
||||
|
@@ -35,7 +35,7 @@
|
||||
android:entryValues="@array/lock_after_timeout_values"
|
||||
android:persistent="false"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:key="power_button_instantly_locks"
|
||||
android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/>
|
||||
|
||||
|
@@ -27,7 +27,7 @@
|
||||
android:summary="@string/unlock_set_unlock_mode_pattern"
|
||||
android:persistent="false"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:key="visiblepattern"
|
||||
android:title="@string/lockpattern_settings_enable_visible_pattern_title"/>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
android:entryValues="@array/lock_after_timeout_values"
|
||||
android:persistent="false"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:key="power_button_instantly_locks"
|
||||
android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/>
|
||||
|
||||
|
@@ -35,7 +35,7 @@
|
||||
android:entryValues="@array/lock_after_timeout_values"
|
||||
android:persistent="false"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:key="power_button_instantly_locks"
|
||||
android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/>
|
||||
|
||||
|
Reference in New Issue
Block a user