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

Commit 158c9a44 authored by Joe Bolinger's avatar Joe Bolinger
Browse files

Add label to fingerprint overlay.

Bug: 186366868
Test: manual
Change-Id: I41a7f48b203e63b7bc91673fcbaeb9710b3d04e1
parent 10de71a3
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -35,5 +35,6 @@
    <ImageView
    <ImageView
        android:id="@+id/udfps_enroll_animation_fp_view"
        android:id="@+id/udfps_enroll_animation_fp_view"
        android:layout_width="match_parent"
        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>
</com.android.systemui.biometrics.UdfpsEnrollView>
+1 −2
Original line number Original line Diff line number Diff line
@@ -658,8 +658,7 @@ public class UdfpsController implements DozeReceiver {
                    // during a11y.
                    // during a11y.
                    if (reason == IUdfpsOverlayController.REASON_ENROLL_FIND_SENSOR
                    if (reason == IUdfpsOverlayController.REASON_ENROLL_FIND_SENSOR
                            || reason == IUdfpsOverlayController.REASON_ENROLL_ENROLLING) {
                            || reason == IUdfpsOverlayController.REASON_ENROLL_ENROLLING) {
                        mView.setImportantForAccessibility(
                        mView.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO);
                                View.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS);
                    }
                    }


                    mWindowManager.addView(mView, computeLayoutParams(animation));
                    mWindowManager.addView(mView, computeLayoutParams(animation));