diff options
author | Amith Yamasani <yamasani@google.com> | 2014-08-22 15:38:16 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2014-08-22 15:38:16 -0700 |
commit | 644907a86f3d3ff726a003e0680b6c45f13dbfd0 (patch) | |
tree | 90419bbf723111487aae0a11eafad3ebe1aea81d /res/xml | |
parent | 8802ccf853b86ba56816ddd06346812b61e58220 (diff) | |
download | packages_apps_Settings-644907a86f3d3ff726a003e0680b6c45f13dbfd0.zip packages_apps_Settings-644907a86f3d3ff726a003e0680b6c45f13dbfd0.tar.gz packages_apps_Settings-644907a86f3d3ff726a003e0680b6c45f13dbfd0.tar.bz2 |
Don't index the ChooseLockGeneric screen
This avoids indexing face unlock, which may not always exist or might
be disabled by policy.
Instead, add some of the relevant keywords up one level in Security
settings.
Bug: 17185326
Change-Id: I4fbae1c0384a97383707104a6fe283075edbf341
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/security_settings_lockscreen.xml | 2 | ||||
-rw-r--r-- | res/xml/security_settings_password.xml | 2 | ||||
-rw-r--r-- | res/xml/security_settings_pattern.xml | 2 | ||||
-rw-r--r-- | res/xml/security_settings_pin.xml | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/res/xml/security_settings_lockscreen.xml b/res/xml/security_settings_lockscreen.xml index 6798c71..88df74b 100644 --- a/res/xml/security_settings_lockscreen.xml +++ b/res/xml/security_settings_lockscreen.xml @@ -15,6 +15,7 @@ --> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" android:title="@string/security_settings_title"> <PreferenceCategory @@ -25,6 +26,7 @@ android:key="unlock_set_or_change" android:title="@string/unlock_set_unlock_launch_picker_title" android:summary="@string/unlock_set_unlock_mode_off" + settings:keywords="@string/keywords_lockscreen" android:persistent="false"/> <PreferenceScreen diff --git a/res/xml/security_settings_password.xml b/res/xml/security_settings_password.xml index b6ea76e..9f1092a 100644 --- a/res/xml/security_settings_password.xml +++ b/res/xml/security_settings_password.xml @@ -15,6 +15,7 @@ --> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" android:title="@string/lock_settings_picker_title"> <PreferenceCategory @@ -25,6 +26,7 @@ android:key="unlock_set_or_change" android:title="@string/unlock_set_unlock_launch_picker_title" android:summary="@string/unlock_set_unlock_mode_password" + settings:keywords="@string/keywords_lockscreen" android:persistent="false"/> <ListPreference diff --git a/res/xml/security_settings_pattern.xml b/res/xml/security_settings_pattern.xml index cb848c6..ceb749c 100644 --- a/res/xml/security_settings_pattern.xml +++ b/res/xml/security_settings_pattern.xml @@ -15,6 +15,7 @@ --> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" android:title="@string/lock_settings_picker_title"> <PreferenceCategory @@ -25,6 +26,7 @@ android:key="unlock_set_or_change" android:title="@string/unlock_set_unlock_launch_picker_title" android:summary="@string/unlock_set_unlock_mode_pattern" + settings:keywords="@string/keywords_lockscreen" android:persistent="false"/> <SwitchPreference diff --git a/res/xml/security_settings_pin.xml b/res/xml/security_settings_pin.xml index e45bdf5..4470b1d 100644 --- a/res/xml/security_settings_pin.xml +++ b/res/xml/security_settings_pin.xml @@ -15,6 +15,7 @@ --> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" android:title="@string/lock_settings_picker_title"> <PreferenceCategory @@ -25,6 +26,7 @@ android:key="unlock_set_or_change" android:title="@string/unlock_set_unlock_launch_picker_title" android:summary="@string/unlock_set_unlock_mode_pin" + settings:keywords="@string/keywords_lockscreen" android:persistent="false"/> <ListPreference |