From 1cef4545c8d211255757fe9f3facc132776d0322 Mon Sep 17 00:00:00 2001 From: Milton Wu Date: Thu, 12 Jan 2023 13:32:48 +0800 Subject: [PATCH] Update fingerprint introduction string Update introduction string to show device name Bug: 251727719 Test: Manually check FingerprintEnrollIntroduction and FingerprintSettings page Change-Id: Ie44a5e3e41e0ff2acaaa2388b04068b218da1c67 --- res-product/values/strings.xml | 8 ++------ res/layout/fingerprint_enroll_introduction.xml | 3 +-- .../fingerprint/FingerprintEnrollIntroduction.java | 10 ++++++++++ .../biometrics/fingerprint/FingerprintSettings.java | 7 +++++-- .../ui/view/FingerprintEnrollIntroFragment.java | 4 ++++ 5 files changed, 22 insertions(+), 10 deletions(-) diff --git a/res-product/values/strings.xml b/res-product/values/strings.xml index a94efb53183..2d411e4135b 100644 --- a/res-product/values/strings.xml +++ b/res-product/values/strings.xml @@ -155,12 +155,8 @@ - - Use your fingerprint to unlock your tablet or verify it\u2019s you, like when you sign in to apps or approve a purchase. - - Use your fingerprint to unlock your device or verify it\u2019s you, like when you sign in to apps or approve a purchase. - - Use your fingerprint to unlock your phone or verify it\u2019s you, like when you sign in to apps or approve a purchase. + + Use your fingerprint to unlock your %s or verify it\u2019s you, like when you sign in to apps or approve a purchase Allow your child to use their fingerprint to unlock their phone or verify it\u2019s them. This happens when they sign in to apps, approve a purchase, and more. diff --git a/res/layout/fingerprint_enroll_introduction.xml b/res/layout/fingerprint_enroll_introduction.xml index 0c10e52e717..e3c9a0109db 100644 --- a/res/layout/fingerprint_enroll_introduction.xml +++ b/res/layout/fingerprint_enroll_introduction.xml @@ -21,8 +21,7 @@ style="?attr/fingerprint_layout_theme" android:id="@+id/setup_wizard_layout" android:layout_width="match_parent" - android:layout_height="match_parent" - app:sudDescriptionText="@string/security_settings_fingerprint_enroll_introduction_v2_message"> + android:layout_height="match_parent">