1<!-- 2 ~ Copyright (C) 2019 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" 20 android:key="security_settings_face_settings_page" 21 android:title="@string/security_settings_face_preference_title"> 22 23 <com.android.car.developeroptions.widget.VideoPreference 24 android:key="security_settings_face_video" 25 android:title="@string/summary_placeholder" 26 app:animation="@raw/face_settings" 27 app:controller="com.android.car.developeroptions.biometrics.face.FaceSettingsVideoPreferenceController"/> 28 29 <PreferenceCategory 30 android:key="security_settings_face_unlock_category" 31 android:title="@string/security_settings_face_settings_use_face_category"> 32 <SwitchPreference 33 android:key="security_settings_face_keyguard" 34 android:title="@string/security_settings_face_settings_use_face_unlock_phone" 35 app:keywords="@string/keywords_face_unlock" 36 app:controller="com.android.car.developeroptions.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.car.developeroptions.biometrics.face.FaceSettingsAppPreferenceController"/> 42 </PreferenceCategory> 43 44 <PreferenceCategory 45 android:key="security_settings_face_manage_category"> 46 <SwitchPreference 47 android:key="security_settings_face_require_attention" 48 android:title="@string/security_settings_face_settings_require_attention" 49 android:summary="@string/security_settings_face_settings_require_attention_details" 50 app:keywords="@string/keywords_face_unlock" 51 app:controller="com.android.car.developeroptions.biometrics.face.FaceSettingsAttentionPreferenceController"/> 52 53 <SwitchPreference 54 android:key="security_settings_face_require_confirmation" 55 android:title="@string/security_settings_face_settings_require_confirmation" 56 android:summary="@string/security_settings_face_settings_require_confirmation_details" 57 app:keywords="@string/keywords_face_unlock" 58 app:controller="com.android.car.developeroptions.biometrics.face.FaceSettingsConfirmPreferenceController"/> 59 60 <com.android.settingslib.widget.LayoutPreference 61 android:key="security_settings_face_delete_faces_container" 62 android:selectable="false" 63 android:layout="@layout/face_remove_button" /> 64 </PreferenceCategory> 65 66 <PreferenceCategory 67 android:key="security_settings_face_footer_container"> 68 <com.android.settingslib.widget.FooterPreference /> 69 </PreferenceCategory> 70 71</PreferenceScreen>