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

Commit 06a24ebd authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a regression with collapsed notification heights

This could lead to collapsed notifications having and intrinsic
height smaller than the collapsed size and notifications
overlapping.

Change-Id: Iabba19033f8069f1f75218280b97d3a1a45a5efb
parent f7de5813
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ public class NotificationContentView extends FrameLayout {
        if (mContractedChild != null) {
            int size = Math.min(maxSize, mSmallHeight);
            mContractedChild.measure(widthMeasureSpec,
                    MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST));
                    MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY));
            maxChildHeight = Math.max(maxChildHeight, mContractedChild.getMeasuredHeight());
        }
        if (mExpandedChild != null) {