Merge "Update local value of sensorBounds whenever it changes" into udc-dev am: cb4d5922a6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23573554

Change-Id: I954462dc0feda5188dcda124086dd8d7fe73ada4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Chandru S
2023-06-07 01:04:41 +00:00
committed by Automerger Merge Worker

View File

@@ -102,6 +102,13 @@ public class UdfpsKeyguardViewLegacy extends UdfpsAnimationView {
return mFingerprintDrawable;
}
@Override
void onSensorRectUpdated(RectF bounds) {
super.onSensorRectUpdated(bounds);
bounds.round(this.mSensorBounds);
postInvalidate();
}
@Override
void onDisplayConfiguring() {
}