Fix Face and Fingerprint setting page's title

"Use face or fingerprint to" is missing

Add a new title string for biometrics settings page title.

Bug: 264902889

Test: manually local build then using issue reproducible steps to
verify Face and Fingerprint Settings page category tiile strings

Change-Id: Ifeb3529e0ff444fc75b81ef9bbafc66c3de41956
This commit is contained in:
Jason Chang
2023-02-01 08:17:57 +00:00
parent 1e45ac1330
commit 01c8438223
2 changed files with 4 additions and 1 deletions

View File

@@ -839,6 +839,8 @@
<string name="biometric_settings_intro">When you set up Face Unlock and Fingerprint Unlock, your phone will ask for your fingerprint when you wear a mask or are in a dark area</string>
<!-- Biometric category title - biometric options for unlocking the device. [CHAR LIMIT=50] -->
<string name="biometric_settings_category_ways_to_unlock">Ways to unlock</string>
<!-- Biometric category title - biometric options for unlocking the device. [CHAR LIMIT=60] -->
<string name="biometric_settings_category_use_face_fingerprint">Use face or fingerprint to</string>
<!-- Text shown on a toggle which allows or disallows the device to use biometric for unlocking the device. [CHAR LIMIT=50] -->
<string name="biometric_settings_use_biometric_unlock_phone">Unlock your phone</string>
<!-- Text shown on a toggle which allows or disallows the device to use biometric for authentication. [CHAR LIMIT=50] -->

View File

@@ -43,7 +43,8 @@
</PreferenceCategory>
<PreferenceCategory
android:key="biometric_ways_to_use">
android:key="biometric_ways_to_use"
android:title="@string/biometric_settings_category_use_face_fingerprint">
<com.android.settingslib.RestrictedSwitchPreference
android:key="biometric_settings_biometric_keyguard"