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: Iee8cecb199f116df5a00e11dc858abdbe1fe15b8
This commit is contained in:
@@ -24,5 +24,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>
|
||||||
|
|||||||
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user