diff options
author | Danielle Millett <dmillett@google.com> | 2012-03-19 18:05:26 -0400 |
---|---|---|
committer | Danielle Millett <dmillett@google.com> | 2012-03-21 13:32:56 -0400 |
commit | a87a25bdec7b991bfa6ef3ea9dfacd0ed162044e (patch) | |
tree | 14398f361740dba2791a9b1d1c12c9ea45e8a2a8 /res | |
parent | 439c551cf3e5b4401d9fa1a7f7196693172cf6a3 (diff) | |
download | packages_apps_Settings-a87a25bdec7b991bfa6ef3ea9dfacd0ed162044e.zip packages_apps_Settings-a87a25bdec7b991bfa6ef3ea9dfacd0ed162044e.tar.gz packages_apps_Settings-a87a25bdec7b991bfa6ef3ea9dfacd0ed162044e.tar.bz2 |
Added a liveliness check box preference for Face Unlock.
This will be used to enable or disable liveliness detection.
Change-Id: I0be735724aed4cadbd5c37d895a7f80ad4f4ee09
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 7 | ||||
-rw-r--r-- | res/xml/security_settings_biometric_weak.xml | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 71564c5..5beeace 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -639,6 +639,13 @@ <!-- Security settings screen when using face unlock, setting option name to start an activity that allows the user to improve accuracy by adding additional enrollment faces --> <string name="biometric_weak_improve_matching_title">Improve face matching</string> + <!-- On the security settings screen when using face unlock. This checkbox is used to toggle whether liveliness detection is required. If it is checked the user must blink during unlock to prove it's not a photo --> + <string name="biometric_weak_liveliness_title">Require eye blink</string> + <!-- On the security settings screen when using face unlock. The summary of the liveliness checkbox --> + <string name="biometric_weak_liveliness_summary" product="default">Prevent others from using a photo of you to unlock your phone</string> + <!-- On the security settings screen when using face unlock. The summary of the liveliness checkbox --> + <string name="biometric_weak_liveliness_summary" product="tablet">Prevent others from using a photo of you to unlock your tablet</string> + <!-- Security settings screen, setting option name to change screen timeout --> <string name="lock_after_timeout">Automatically lock</string> diff --git a/res/xml/security_settings_biometric_weak.xml b/res/xml/security_settings_biometric_weak.xml index 080fbc9..4a41431 100644 --- a/res/xml/security_settings_biometric_weak.xml +++ b/res/xml/security_settings_biometric_weak.xml @@ -31,6 +31,11 @@ android:title="@string/biometric_weak_improve_matching_title"/> <CheckBoxPreference + android:key="biometric_weak_liveliness" + android:title="@string/biometric_weak_liveliness_title" + android:summary="@string/biometric_weak_liveliness_summary"/> + + <CheckBoxPreference android:key="visiblepattern" android:title="@string/lockpattern_settings_enable_visible_pattern_title"/> |