diff --git a/AndroidManifest.xml b/AndroidManifest.xml index c352694f9f5..9b11fe81c98 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -494,6 +494,22 @@ android:value="com.android.settings.biometrics.fingerprint.FingerprintSettings$FingerprintSettingsFragment" /> + + + + + + + + Use your fingerprint to unlock your phone or for authentication, like when you sign in to apps or approve a purchase\n\nLearn more + + + Face & fingerprint unlock + + Face and fingerprint + + When you set up face unlock and fingerprint, your phone will ask for your fingerprint when you wear a mask or are in a dark area. + + Ways to unlock + + Use face and fingerprint to + + Unlocking your phone + + Authentication in apps + Skip screen lock? @@ -7990,6 +8006,7 @@ backup, back up gesture face, unlock, auth, sign in + face, unlock, auth, sign in, fingerprint, biometric imei, meid, min, prl version, imei sv network, mobile network state, service state, signal strength, mobile network type, roaming, iccid, eid serial number, hardware version @@ -8015,6 +8032,9 @@ fingerprint, add fingerprint + + face, fingerprint, add fingerprint + dim screen, touchscreen, battery, smart brightness, dynamic brightness, Auto brightness diff --git a/res/xml/security_dashboard_settings.xml b/res/xml/security_dashboard_settings.xml index fd9f3186996..be1f34cebe3 100644 --- a/res/xml/security_dashboard_settings.xml +++ b/res/xml/security_dashboard_settings.xml @@ -55,6 +55,12 @@ android:title="@string/security_settings_face_preference_title" android:summary="@string/summary_placeholder" settings:keywords="@string/keywords_face_settings" /> + + @@ -91,6 +97,11 @@ android:title="@string/security_settings_face_preference_title" android:summary="@string/summary_placeholder" /> + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/xml/security_settings_combined_biometric_profile.xml b/res/xml/security_settings_combined_biometric_profile.xml new file mode 100644 index 00000000000..57111528603 --- /dev/null +++ b/res/xml/security_settings_combined_biometric_profile.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/xml/security_settings_face.xml b/res/xml/security_settings_face.xml index 1fc1ca82de5..131f222685c 100644 --- a/res/xml/security_settings_face.xml +++ b/res/xml/security_settings_face.xml @@ -31,7 +31,8 @@ + android:title="@string/security_settings_face_settings_use_face_category" + settings:controller="com.android.settings.biometrics.face.FaceUnlockCategoryPreferenceController"> + + securityPreferenceControllers = new ArrayList<>(); securityPreferenceControllers.add(new FaceStatusPreferenceController(context)); securityPreferenceControllers.add(new FingerprintStatusPreferenceController(context)); + securityPreferenceControllers.add(new CombinedBiometricStatusPreferenceController(context)); securityPreferenceControllers.add(new ChangeScreenLockPreferenceController(context, host)); controllers.add(new PreferenceCategoryController(context, SECURITY_CATEGORY) .setChildren(securityPreferenceControllers)); @@ -128,6 +131,8 @@ public class SecuritySettings extends DashboardFragment { context, lifecycle)); profileSecurityControllers.add(new FaceProfileStatusPreferenceController(context)); profileSecurityControllers.add(new FingerprintProfileStatusPreferenceController(context)); + profileSecurityControllers + .add(new CombinedBiometricProfileStatusPreferenceController(context)); controllers.add(new PreferenceCategoryController(context, WORK_PROFILE_SECURITY_CATEGORY) .setChildren(profileSecurityControllers)); controllers.addAll(profileSecurityControllers);