From 58efa39184ee1165ad29fc1415cf5344a39ad29f Mon Sep 17 00:00:00 2001 From: Austin Delgado Date: Wed, 11 Dec 2024 18:09:32 -0800 Subject: Remove Biometric Prompt authentication a11y announcement Flag: EXEMPT bugfix Test: verified no announcement after auth manually Fixes: 383199699 Change-Id: If1896097558a85156bd79c49a5ee2390502554ba --- .../com/android/systemui/biometrics/ui/binder/BiometricViewBinder.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/BiometricViewBinder.kt b/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/BiometricViewBinder.kt index 629e9bebe254..54c52b533da4 100644 --- a/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/BiometricViewBinder.kt +++ b/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/BiometricViewBinder.kt @@ -365,10 +365,6 @@ object BiometricViewBinder { IMPORTANT_FOR_ACCESSIBILITY_NO } if (authState.isAuthenticatedAndConfirmed) { - view.announceForAccessibility( - view.resources.getString(R.string.biometric_dialog_authenticated) - ) - launch { delay(authState.delay) if (authState.isAuthenticatedAndExplicitlyConfirmed) { -- cgit v1.2.3-59-g8ed1b