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

Commit 9ccdb5e2 authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz
Browse files

[AsyncGroup Inflation] Reset header visibility if needed

Bug: 361552380
Test: Post minimized group notification with Notify. Expand it once and change the theme. Observe there is no text overlap.
Flag: EXEMPT trivial no impact change.
Change-Id: I65f398b7e6e67877c6ca80e233548b2a346f4698
parent 296b69bc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -499,7 +499,7 @@ public class NotificationChildrenContainer extends ViewGroup

        mGroupHeaderWrapper.setExpanded(mChildrenExpanded);
        mGroupHeaderWrapper.onContentUpdated(mContainingNotification);

        resetHeaderVisibilityIfNeeded(mGroupHeader, calculateDesiredHeader());
        updateHeaderVisibility(false /* animate */);
        updateChildrenAppearance();

@@ -535,6 +535,7 @@ public class NotificationChildrenContainer extends ViewGroup
        invalidate();

        mMinimizedGroupHeaderWrapper.onContentUpdated(mContainingNotification);
        resetHeaderVisibilityIfNeeded(mMinimizedGroupHeader, calculateDesiredHeader());
        updateHeaderVisibility(false /* animate */);
        updateChildrenAppearance();
    }