Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 445d289d authored by Curtis Belmonte's avatar Curtis Belmonte
Browse files

Fix a11y for tappable BiometricPrompt empty space

Test: manual:
1. Enable TalkBack
2. Open the BiometricPrompt demo app
3. Press "Authenticate" from any demo activity

Before: TalkBack reads "Tap to cancel authentication" twice
After: TalkBack reads "Tap to cancel authentication" once

Fixes: 149545007
Change-Id: I2ae6aa65e7e2dec2dca6325074556e4db10c7880
parent 543ff5f0
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -23,6 +23,7 @@
        android:id="@+id/background"
        android:id="@+id/background"
        android:layout_width="match_parent"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_height="match_parent"
        android:accessibilityLiveRegion="polite"
        android:background="@color/biometric_dialog_dim_color"
        android:background="@color/biometric_dialog_dim_color"
        android:contentDescription="@string/biometric_dialog_empty_space_description"/>
        android:contentDescription="@string/biometric_dialog_empty_space_description"/>