Kevin Chyn | 7189997 | 2018-07-10 17:20:29 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright (C) 2018 The Android Open Source Project |
| 3 | ~ |
| 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ~ you may not use this file except in compliance with the License. |
| 6 | ~ You may obtain a copy of the License at |
| 7 | ~ |
| 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ~ |
| 10 | ~ Unless required by applicable law or agreed to in writing, software |
| 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ~ See the License for the specific language governing permissions and |
| 14 | ~ limitations under the License |
| 15 | --> |
| 16 | |
| 17 | <PreferenceScreen |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | xmlns:app="http://schemas.android.com/apk/res-auto" |
Kevin Chyn | 6a4a0e7 | 2019-06-12 11:55:22 -0700 | [diff] [blame] | 20 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
Kevin Chyn | 7189997 | 2018-07-10 17:20:29 -0700 | [diff] [blame] | 21 | android:title="@string/security_settings_face_preference_title"> |
| 22 | |
| 23 | <com.android.settings.widget.VideoPreference |
| 24 | android:key="security_settings_face_video" |
Kevin Chyn | a8843f29 | 2018-09-25 12:08:21 -0700 | [diff] [blame] | 25 | android:title="@string/summary_placeholder" |
Kevin Chyn | 51fe2e9 | 2019-01-14 16:45:16 -0800 | [diff] [blame] | 26 | app:animation="@raw/face_settings" |
Raff Tsai | 6892763 | 2019-11-01 10:37:27 +0800 | [diff] [blame] | 27 | app:controller="com.android.settings.widget.VideoPreferenceController"/> |
Kevin Chyn | 7189997 | 2018-07-10 17:20:29 -0700 | [diff] [blame] | 28 | |
| 29 | <PreferenceCategory |
| 30 | android:key="security_settings_face_unlock_category" |
| 31 | android:title="@string/security_settings_face_settings_use_face_category"> |
Rubin Xu | 56d5cc2 | 2020-03-17 18:33:31 +0000 | [diff] [blame] | 32 | <com.android.settingslib.RestrictedSwitchPreference |
Kevin Chyn | a8843f29 | 2018-09-25 12:08:21 -0700 | [diff] [blame] | 33 | android:key="security_settings_face_keyguard" |
Kevin Chyn | 7189997 | 2018-07-10 17:20:29 -0700 | [diff] [blame] | 34 | android:title="@string/security_settings_face_settings_use_face_unlock_phone" |
| 35 | app:keywords="@string/keywords_face_unlock" |
Kevin Chyn | a8843f29 | 2018-09-25 12:08:21 -0700 | [diff] [blame] | 36 | app:controller="com.android.settings.biometrics.face.FaceSettingsKeyguardPreferenceController"/> |
| 37 | <SwitchPreference |
| 38 | android:key="security_settings_face_app" |
| 39 | android:title="@string/security_settings_face_settings_use_face_for_apps" |
| 40 | app:keywords="@string/keywords_face_unlock" |
| 41 | app:controller="com.android.settings.biometrics.face.FaceSettingsAppPreferenceController"/> |
Rubin Xu | 56d5cc2 | 2020-03-17 18:33:31 +0000 | [diff] [blame] | 42 | <com.android.settingslib.RestrictedSwitchPreference |
Kevin Chyn | 6a4a0e7 | 2019-06-12 11:55:22 -0700 | [diff] [blame] | 43 | android:key="security_lockscreen_bypass" |
| 44 | android:title="@string/lockscreen_bypass_title" |
| 45 | android:summary="@string/lockscreen_bypass_summary" |
Kevin Chyn | 06f22da | 2019-06-18 18:55:20 -0700 | [diff] [blame] | 46 | settings:keywords="@string/keywords_lockscreen_bypass" |
Kevin Chyn | 6a4a0e7 | 2019-06-12 11:55:22 -0700 | [diff] [blame] | 47 | settings:controller="com.android.settings.biometrics.face.FaceSettingsLockscreenBypassPreferenceController" /> |
Kevin Chyn | 7189997 | 2018-07-10 17:20:29 -0700 | [diff] [blame] | 48 | </PreferenceCategory> |
| 49 | |
| 50 | <PreferenceCategory |
Kevin Chyn | 0c4bf9b | 2019-05-02 16:59:12 -0700 | [diff] [blame] | 51 | android:key="security_settings_face_manage_category" |
| 52 | android:title="@string/security_settings_face_settings_require_category"> |
Kevin Chyn | a8843f29 | 2018-09-25 12:08:21 -0700 | [diff] [blame] | 53 | <SwitchPreference |
Kevin Chyn | eac6fcf | 2019-10-18 18:19:18 +0000 | [diff] [blame] | 54 | android:key="security_settings_face_require_attention" |
| 55 | android:title="@string/security_settings_face_settings_require_attention" |
| 56 | android:summary="@string/security_settings_face_settings_require_attention_details" |
| 57 | app:keywords="@string/keywords_face_unlock" |
| 58 | app:controller="com.android.settings.biometrics.face.FaceSettingsAttentionPreferenceController"/> |
| 59 | |
| 60 | <SwitchPreference |
Kevin Chyn | 15128cf | 2019-01-10 16:42:47 -0800 | [diff] [blame] | 61 | android:key="security_settings_face_require_confirmation" |
| 62 | android:title="@string/security_settings_face_settings_require_confirmation" |
| 63 | android:summary="@string/security_settings_face_settings_require_confirmation_details" |
| 64 | app:keywords="@string/keywords_face_unlock" |
| 65 | app:controller="com.android.settings.biometrics.face.FaceSettingsConfirmPreferenceController"/> |
joshmccloskey | 409a1c6 | 2019-10-15 17:53:13 -0700 | [diff] [blame] | 66 | </PreferenceCategory> |
Kevin Chyn | 7189997 | 2018-07-10 17:20:29 -0700 | [diff] [blame] | 67 | |
joshmccloskey | 409a1c6 | 2019-10-15 17:53:13 -0700 | [diff] [blame] | 68 | <PreferenceCategory |
| 69 | android:key="security_settings_face_button_category" |
| 70 | android:title="@string/security_settings_face_preference_title"> |
tmfang | dce94bb | 2018-11-26 18:41:01 +0800 | [diff] [blame] | 71 | <com.android.settingslib.widget.LayoutPreference |
Kevin Chyn | 7189997 | 2018-07-10 17:20:29 -0700 | [diff] [blame] | 72 | android:key="security_settings_face_delete_faces_container" |
Stanley Wang | e81d6b7 | 2019-12-31 17:28:17 +0800 | [diff] [blame] | 73 | android:title="@string/security_settings_face_settings_remove_face_data" |
Kevin Chyn | 7189997 | 2018-07-10 17:20:29 -0700 | [diff] [blame] | 74 | android:selectable="false" |
tmfang | b981068 | 2019-06-27 17:50:20 +0800 | [diff] [blame] | 75 | android:layout="@layout/face_remove_button" |
| 76 | settings:allowDividerBelow="true"/> |
Kevin Chyn | 0dfc276 | 2019-04-23 13:41:31 -0700 | [diff] [blame] | 77 | |
| 78 | <com.android.settingslib.widget.LayoutPreference |
| 79 | android:key="security_settings_face_enroll_faces_container" |
Stanley Wang | e81d6b7 | 2019-12-31 17:28:17 +0800 | [diff] [blame] | 80 | android:title="@string/security_settings_face_settings_enroll" |
Kevin Chyn | 0dfc276 | 2019-04-23 13:41:31 -0700 | [diff] [blame] | 81 | android:selectable="false" |
Stanley Wang | e81d6b7 | 2019-12-31 17:28:17 +0800 | [diff] [blame] | 82 | android:layout="@layout/face_enroll_button" |
tmfang | b981068 | 2019-06-27 17:50:20 +0800 | [diff] [blame] | 83 | settings:allowDividerBelow="true"/> |
Kevin Chyn | 7189997 | 2018-07-10 17:20:29 -0700 | [diff] [blame] | 84 | </PreferenceCategory> |
| 85 | |
tmfang | b981068 | 2019-06-27 17:50:20 +0800 | [diff] [blame] | 86 | <com.android.settingslib.widget.FooterPreference |
| 87 | settings:allowDividerAbove="true"/> |
Stanley Wang | e81d6b7 | 2019-12-31 17:28:17 +0800 | [diff] [blame] | 88 | </PreferenceScreen> |