Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ada9c826 authored by Vincent Wang's avatar Vincent Wang
Browse files

DO NOT MERGE: Fix Budget bakers wallet app's fingerprint icon doesn't line up with sensor

This issue is caused by side effect of CL Ib95d090729b1561a70a853b17a4e17cdcbb71fbd. Description height
should be used when its visibility is GONE.

BUG: 230665942
Test: Check budget bakers wallet app's fingerprint icon
Change-Id: Id8d3e4a203ca012ab42ca8f984e8a09df1a77c85
parent f6bb7fe0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -154,7 +154,9 @@ public class UdfpsDialogMeasureAdapter {

        //re-calculate the height of description
        View description = mView.findViewById(R.id.description);
        if (description != null && description.getVisibility() != View.GONE) {
            totalHeight += measureDescription(description, displayHeight, width, totalHeight);
        }

        return new AuthDialog.LayoutParams(width, totalHeight);
    }