Support RTL with new Udfps overlay
Bug: 270088026 Test: atest SystemUITests:com.android.systemui.biometrics Change-Id: I89ae4f7554983c6146576b70553906dba34579e9
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user