Merge changes from topic "am-6e211d057385482094e3c15ffd4b3efe" into tm-qpr-dev-plus-aosp

* changes:
  Merge "DO NOT MERGE: Fix Budget bakers wallet app's fingerprint icon doesn't line up with sensor" into tm-dev am: 021ef9a6f8 am: 7a450c60b3 am: 87306bd5db
  DO NOT MERGE: Fix Budget bakers wallet app's fingerprint icon doesn't line up with sensor am: 29f4d11428 am: fedde47d82 am: ad34cc486e
This commit is contained in:
Automerger Merge Worker
2022-05-06 16:10:28 +00:00
committed by Android (Google) Code Review

View File

@@ -154,7 +154,9 @@ public class UdfpsDialogMeasureAdapter {
//re-calculate the height of description
View description = mView.findViewById(R.id.description);
totalHeight += measureDescription(description, displayHeight, width, totalHeight);
if (description != null && description.getVisibility() != View.GONE) {
totalHeight += measureDescription(description, displayHeight, width, totalHeight);
}
return new AuthDialog.LayoutParams(width, totalHeight);
}