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

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

Fixed an issue where the panel height was wrong

Because we wouldn't get a layout call when collapsing
the shade when we had a bubble, the panel would keep
the existing content height, because we didn't notify
it of the change properly.

Fixes: 128156368
Test: atest SystemUITests
Change-Id: Ib529f22074fcdd3a2f879fe8e10b12bff2c7950d
parent 3a1d274e
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -2213,12 +2213,15 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
    }

    public void resetUserExpansion() {
        boolean changed = mUserExpanded;
        boolean wasExpanded = isExpanded();
        mHasUserChangedExpansion = false;
        mUserExpanded = false;
        if (changed && mIsSummaryWithChildren) {
        if (wasExpanded != isExpanded()) {
            if (mIsSummaryWithChildren) {
                mChildrenContainer.onExpansionChanged();
            }
            notifyHeightChanged(false /* needsAnimation */);
        }
        updateShelfIconColor();
    }