summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/values/cm_strings.xml2
-rw-r--r--res/xml/security_settings_pin.xml6
2 files changed, 8 insertions, 0 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index bdf0efa..8ec8558 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -307,4 +307,6 @@
<!-- Hostname setting -->
<string name="device_hostname">Device hostname</string>
+ <string name="unlock_scramble_pin_layout_title">Scramble layout</string>
+ <string name="unlock_scramble_pin_layout_summary">Scramble PIN layout when unlocking device</string>
</resources>
diff --git a/res/xml/security_settings_pin.xml b/res/xml/security_settings_pin.xml
index ac09a2c..40370f5 100644
--- a/res/xml/security_settings_pin.xml
+++ b/res/xml/security_settings_pin.xml
@@ -29,6 +29,12 @@
settings:keywords="@string/keywords_lockscreen"
android:persistent="false"/>
+
+ <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
+ android:key="lockscreen_scramble_pin_layout"
+ android:title="@string/unlock_scramble_pin_layout_title"
+ android:summary="@string/unlock_scramble_pin_layout_summary" />
+
<ListPreference
android:key="lock_after_timeout"
android:title="@string/lock_after_timeout"