summaryrefslogtreecommitdiffstats
path: root/res/xml/security_settings_pin.xml
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2012-01-06 18:28:09 -0800
committerJim Miller <jaggies@google.com>2012-01-09 14:25:04 -0800
commit071742d838f9b0c312af309c87eaf2c444aeeab8 (patch)
tree0ac0b5381aea88aaa5703b3fde129c8421c78575 /res/xml/security_settings_pin.xml
parenta98c353f8b18607f0c2e9af26b91bf6ffbe8dc78 (diff)
downloadpackages_apps_Settings-071742d838f9b0c312af309c87eaf2c444aeeab8.zip
packages_apps_Settings-071742d838f9b0c312af309c87eaf2c444aeeab8.tar.gz
packages_apps_Settings-071742d838f9b0c312af309c87eaf2c444aeeab8.tar.bz2
Fix 4560303: Add setting to lock later when power button pressed
This adds a feature to delay locking the device when the power button is pressed. This fixes a use case where the user wants to turn off the display (e.g. to save power) but doesn't want to lock the device. Change-Id: I711a81c3e79f7accdc1d9cb217b7806a0b8fcf63
Diffstat (limited to 'res/xml/security_settings_pin.xml')
-rw-r--r--res/xml/security_settings_pin.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/xml/security_settings_pin.xml b/res/xml/security_settings_pin.xml
index 0c8ff97..4562a9a 100644
--- a/res/xml/security_settings_pin.xml
+++ b/res/xml/security_settings_pin.xml
@@ -35,6 +35,10 @@
android:persistent="false"/>
<CheckBoxPreference
+ android:key="power_button_instantly_locks"
+ android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/>
+
+ <CheckBoxPreference
android:key="unlock_tactile_feedback"
android:title="@string/lockpattern_settings_enable_tactile_feedback_title"/>