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:
@@ -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() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user