Merge "Keyguard SIM PIN: Fix height" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-02-03 18:11:38 +00:00
committed by Android (Google) Code Review

View File

@@ -128,6 +128,8 @@ public class KeyguardSecurityViewFlipper extends ViewFlipper {
final int count = getChildCount();
for (int i = 0; i < count; i++) {
final View child = getChildAt(i);
if (child.getVisibility() != View.VISIBLE) continue;
final LayoutParams lp = (LayoutParams) child.getLayoutParams();
if (lp.maxWidth > 0 && lp.maxWidth < maxWidth) {