1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2021 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17<PreferenceScreen 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:settings="http://schemas.android.com/apk/res-auto" 20 android:title="@string/security_settings_biometric_preference_title"> 21 22 <com.android.settingslib.widget.TopIntroPreference 23 android:key="biometric_intro" 24 android:title="@string/biometric_settings_intro" /> 25 26 <PreferenceCategory 27 android:key="biometric_ways_to_unlock" 28 android:title="@string/biometric_settings_category_ways_to_unlock"> 29 30 <com.android.settingslib.RestrictedPreference 31 android:key="biometric_face_settings" 32 android:title="@string/security_settings_face_preference_title" 33 android:summary="@string/summary_placeholder" 34 settings:keywords="@string/keywords_face_settings" 35 settings:controller="com.android.settings.biometrics.combination.BiometricFaceStatusPreferenceController" /> 36 37 <com.android.settingslib.RestrictedPreference 38 android:key="biometric_fingerprint_settings" 39 android:title="@string/security_settings_fingerprint_preference_title" 40 android:summary="@string/summary_placeholder" 41 settings:keywords="@string/keywords_fingerprint_settings" 42 settings:controller="com.android.settings.biometrics.combination.BiometricFingerprintStatusPreferenceController" /> 43 44 <com.android.settingslib.RestrictedPreference 45 android:key="biometric_active_unlock_settings" 46 android:title="@string/security_settings_activeunlock_preference_title" 47 android:summary="@string/summary_placeholder" 48 settings:keywords="@string/keywords_active_unlock_settings" 49 settings:controller="com.android.settings.biometrics.activeunlock.ActiveUnlockStatusPreferenceController" /> 50 51 <com.android.settingslib.RestrictedPreference 52 android:key="biometric_remote_authenticator_settings" 53 android:title="@string/security_settings_remoteauth_preference_title" 54 android:summary="@string/summary_placeholder" 55 settings:keywords="@string/keywords_active_unlock_settings" 56 settings:controller="com.android.settings.remoteauth.RemoteAuthStatusPreferenceController" /> 57 </PreferenceCategory> 58 59 <PreferenceCategory 60 android:key="biometric_ways_to_use" 61 android:title="@string/biometric_settings_category_use_face_fingerprint"> 62 63 <com.android.settingslib.RestrictedSwitchPreference 64 android:key="biometric_settings_biometric_keyguard" 65 android:title="@string/biometric_settings_use_biometric_unlock_phone" 66 settings:keywords="@string/keywords_biometric_unlock" 67 settings:controller="com.android.settings.biometrics.combination.BiometricSettingsKeyguardPreferenceController"/> 68 69 <SwitchPreferenceCompat 70 android:key="biometric_settings_biometric_app" 71 android:title="@string/biometric_settings_use_biometric_for_apps" 72 settings:keywords="@string/keywords_biometric_unlock" 73 settings:controller="com.android.settings.biometrics.combination.BiometricSettingsAppPreferenceController"/> 74 75 </PreferenceCategory> 76 77</PreferenceScreen> 78