Merge "Do not announce a11y move instructions in sensor area." into udc-dev

This commit is contained in:
Hao Dong
2023-03-01 22:53:23 +00:00
committed by Android (Google) Code Review

View File

@@ -1295,6 +1295,11 @@ public class FingerprintEnrollEnrolling extends BiometricsEnrollEnrolling {
mUdfpsUtils.getTouchInNativeCoordinates(event.getPointerId(0), mUdfpsUtils.getTouchInNativeCoordinates(event.getPointerId(0),
event, udfpsEnrollView.getOverlayParams()); event, udfpsEnrollView.getOverlayParams());
if (mUdfpsUtils.isWithinSensorArea(event.getPointerId(0), event,
udfpsEnrollView.getOverlayParams())) {
return false;
}
final String theStr = mUdfpsUtils.onTouchOutsideOfSensorArea( final String theStr = mUdfpsUtils.onTouchOutsideOfSensorArea(
mAccessibilityManager.isTouchExplorationEnabled(), context, mAccessibilityManager.isTouchExplorationEnabled(), context,
scaledTouch.x, scaledTouch.y, udfpsEnrollView.getOverlayParams()); scaledTouch.x, scaledTouch.y, udfpsEnrollView.getOverlayParams());