DO NOT MERGE: Fix Budget bakers wallet app's fingerprint icon doesn't line up with sensor am: 29f4d11428
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18130745 Change-Id: I176375a2f66a86acb24c593837d8dac5d32740fd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user