diff options
| author | 2022-05-06 03:09:46 +0000 | |
|---|---|---|
| committer | 2022-05-06 03:09:46 +0000 | |
| commit | 021ef9a6f8ad462e3becf6763b091fe79b2542a2 (patch) | |
| tree | 584225046158ca3745bc9c89c2d5d75aaafe6c83 | |
| parent | bd9fe6ce24448f31af9cec92c7793d1d191b00a1 (diff) | |
| parent | 29f4d11428ee58d9583765293618a93d13f84957 (diff) | |
Merge "DO NOT MERGE: Fix Budget bakers wallet app's fingerprint icon doesn't line up with sensor" into tm-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/biometrics/UdfpsDialogMeasureAdapter.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsDialogMeasureAdapter.java b/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsDialogMeasureAdapter.java index 2f097924817e..8de721352069 100644 --- a/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsDialogMeasureAdapter.java +++ b/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsDialogMeasureAdapter.java @@ -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); } |