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

Commit 67216f90 authored by Selim Cinek's avatar Selim Cinek Committed by Automerger Merge Worker
Browse files

Merge "Fixed an issue where notifications wouldn't animate on height change"...

Merge "Fixed an issue where notifications wouldn't animate on height change" into sc-dev am: cf3dbf7a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15080838

Change-Id: I23d9fb6558e2c4bbefe4b55baa1f18a908b0a3d6
parents 3150f9cf cf3dbf7a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2482,7 +2482,8 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
    protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
        int intrinsicBefore = getIntrinsicHeight();
        super.onLayout(changed, left, top, right, bottom);
        if (intrinsicBefore != getIntrinsicHeight() && intrinsicBefore != 0) {
        if (intrinsicBefore != getIntrinsicHeight()
                && (intrinsicBefore != 0 || getActualHeight() > 0)) {
            notifyHeightChanged(true  /* needsAnimation */);
        }
        if (mMenuRow != null && mMenuRow.getMenuView() != null) {