Add label to fingerprint overlay.

Bug: 186366868
Test: manual
Change-Id: I41a7f48b203e63b7bc91673fcbaeb9710b3d04e1
This commit is contained in:
Joe Bolinger
2021-06-03 19:34:50 -07:00
parent 10de71a380
commit 158c9a4489
2 changed files with 3 additions and 3 deletions

View File

@@ -35,5 +35,6 @@
<ImageView
android:id="@+id/udfps_enroll_animation_fp_view"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
android:layout_height="match_parent"
android:contentDescription="@string/accessibility_fingerprint_label"/>
</com.android.systemui.biometrics.UdfpsEnrollView>

View File

@@ -658,8 +658,7 @@ public class UdfpsController implements DozeReceiver {
// during a11y.
if (reason == IUdfpsOverlayController.REASON_ENROLL_FIND_SENSOR
|| reason == IUdfpsOverlayController.REASON_ENROLL_ENROLLING) {
mView.setImportantForAccessibility(
View.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS);
mView.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO);
}
mWindowManager.addView(mView, computeLayoutParams(animation));