Merge "Add label to fingerprint overlay." into sc-dev am: 6523da35af
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14834457 Change-Id: I7ecb05cb6d3fd4fc759d4a74f7047bea5c49c17b
This commit is contained in:
@@ -24,5 +24,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>
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user