Merge "Support RTL with new Udfps overlay" into udc-dev

This commit is contained in:
Austin Delgado
2023-04-04 23:11:55 +00:00
committed by Android (Google) Code Review

View File

@@ -306,7 +306,7 @@ public class UdfpsKeyguardView extends UdfpsAnimationView {
lp.width = mSensorBounds.width();
lp.height = mSensorBounds.height();
RectF relativeToView = getBoundsRelativeToView(new RectF(mSensorBounds));
lp.setMargins(
lp.setMarginsRelative(
(int) relativeToView.left,
(int) relativeToView.top,
(int) relativeToView.right,