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

Commit 8d324482 authored by Daniel Lehmann's avatar Daniel Lehmann
Browse files

Fix wrong measure-spec

Bug:5515812

Change-Id: I455b3fdd1a528f05a85dae54261c7039e0f55b19
parent 6d172800
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -415,7 +415,9 @@ public class ContactListItemView extends ViewGroup

        // Status view height is the biggest of the text view and the presence icon
        if (isVisible(mPresenceIcon)) {
            mPresenceIcon.measure(mPresenceIconSize, mPresenceIconSize);
            mPresenceIcon.measure(
                    MeasureSpec.makeMeasureSpec(mPresenceIconSize, MeasureSpec.EXACTLY),
                    MeasureSpec.makeMeasureSpec(mPresenceIconSize, MeasureSpec.EXACTLY));
            mStatusTextViewHeight = mPresenceIcon.getMeasuredHeight();
        }