[automerge] DO NOT MERGE Allow pinEntry field to be outside pin_container 2p: 2bbaf5d099

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

Bug: 217401027
Change-Id: Id26b5149a13c413c8b510f7fa5a29eb045e5deaf
This commit is contained in:
Alex Stetson
2022-02-01 23:47:53 +00:00
committed by Presubmit Automerger Backend

View File

@@ -112,13 +112,13 @@ public class KeyguardPINView extends KeyguardPinBasedInputView {
// Password entry area
int passwordHeight = res.getDimensionPixelSize(R.dimen.keyguard_password_height);
View pinEntry = mContainer.findViewById(R.id.pinEntry);
View pinEntry = findViewById(getPasswordTextViewId());
ViewGroup.LayoutParams lp = pinEntry.getLayoutParams();
lp.height = passwordHeight;
pinEntry.setLayoutParams(lp);
// Below row0
View row0 = mContainer.findViewById(R.id.row0);
View row0 = findViewById(R.id.row0);
row0.setPadding(0, 0, 0, verticalMargin);
// Above the emergency contact area