summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2015-06-17 16:25:45 +0300
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-02-08 15:05:36 -0800
commit52400c6f1cd6f582ce7402cac3b099d7d8f3e3b6 (patch)
tree91f7b83abaf0dcb886d8861a427f286e82d303e0 /res/xml
parentaa2912141dd64c1088a27958c5520b74b2807a19 (diff)
downloadpackages_apps_Settings-52400c6f1cd6f582ce7402cac3b099d7d8f3e3b6.zip
packages_apps_Settings-52400c6f1cd6f582ce7402cac3b099d7d8f3e3b6.tar.gz
packages_apps_Settings-52400c6f1cd6f582ce7402cac3b099d7d8f3e3b6.tar.bz2
lockscreen: Add option to pass swipe-up-to-unlock (2/3)
* Option appears on PIN,pattern and password methods * User should press back button to see notifications, clock etc. * Instantly hides keyguard if Smart Lock has unlocked phone. CYNGNOS-1873 Change-Id: I31256770869b20842c69edb4a7a57b2bad7b3ea7 Signed-off-by: eray orçunus <erayorcunus@gmail.com>
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/security_settings_password.xml4
-rw-r--r--res/xml/security_settings_pattern.xml5
-rw-r--r--res/xml/security_settings_pin.xml4
3 files changed, 13 insertions, 0 deletions
diff --git a/res/xml/security_settings_password.xml b/res/xml/security_settings_password.xml
index 8610b20..680a579 100644
--- a/res/xml/security_settings_password.xml
+++ b/res/xml/security_settings_password.xml
@@ -29,6 +29,10 @@
settings:keywords="@string/keywords_lockscreen"
android:persistent="false"/>
+ <SwitchPreference
+ android:key="directlyshow"
+ android:persistent="false"
+ android:title="@string/lock_directly_show_password"/>
<ListPreference
android:key="lock_after_timeout"
diff --git a/res/xml/security_settings_pattern.xml b/res/xml/security_settings_pattern.xml
index c047213..2576ea7 100644
--- a/res/xml/security_settings_pattern.xml
+++ b/res/xml/security_settings_pattern.xml
@@ -31,6 +31,11 @@
<SwitchPreference
+ android:key="directlyshow"
+ android:persistent="false"
+ android:title="@string/lock_directly_show_pattern"/>
+
+ <SwitchPreference
android:key="visiblepattern"
android:persistent="false"
android:title="@string/lockpattern_settings_enable_visible_pattern_title"/>
diff --git a/res/xml/security_settings_pin.xml b/res/xml/security_settings_pin.xml
index 56b08c0..a378ef9 100644
--- a/res/xml/security_settings_pin.xml
+++ b/res/xml/security_settings_pin.xml
@@ -29,6 +29,10 @@
settings:keywords="@string/keywords_lockscreen"
android:persistent="false"/>
+ <SwitchPreference
+ android:key="directlyshow"
+ android:persistent="false"
+ android:title="@string/lock_directly_show_pin"/>
<com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
android:key="lockscreen_scramble_pin_layout"