Fix Talkback announcement for SFPS enrollment issues

Remove the redundant "enrolled %" string when talkback announcement.

Bug: 324488176

Flag: NONE

Test: manually do SFPS enrolling then hearing the sounds to check.
Change-Id: I00d1f885bca2609cd954817943a1d4f5625a95b3
This commit is contained in:
Jason Chang
2024-04-16 09:59:55 +00:00
parent 4f5920c3f5
commit 0c61a9662c

View File

@@ -812,13 +812,6 @@ public class FingerprintEnrollEnrolling extends BiometricsEnrollEnrolling {
CharSequence announcement = getString(
R.string.security_settings_sfps_enroll_progress_a11y_message, percent);
announceEnrollmentProgress(announcement);
if (mIllustrationLottie != null) {
mIllustrationLottie.setContentDescription(
getString(
R.string.security_settings_sfps_animation_a11y_label,
percent)
);
}
}
updateTitleAndDescription();
animateFlash();