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

Commit c80fdb11 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a bug where the intrinsic height was not updated

Change-Id: I2c171aff6eb30418121f0ca77e71045b0b61c9b2
parent 1f3f544f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -181,8 +181,12 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
    }

    public void setHeadsUp(boolean isHeadsUp) {
        int intrinsicBefore = getIntrinsicHeight();
        mIsHeadsUp = isHeadsUp;
        mPrivateLayout.setHeadsUp(isHeadsUp);
        if (intrinsicBefore != getIntrinsicHeight()) {
            notifyHeightChanged(false  /* needsAnimation */);
        }
    }

    public void setGroupManager(NotificationGroupManager groupManager) {