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

Commit af4e5eca authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz Committed by Android (Google) Code Review
Browse files

Merge "[NotifRedesign] Use correct header for group animation" into main

parents 936cdf20 38c4368f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1220,12 +1220,13 @@ public class NotificationChildrenContainer extends ViewGroup
                mHeaderViewState.applyToView(mGroupHeader);
            }

            if (notificationsRedesignTemplates()) {
            if (notificationsRedesignTemplates()
                    && mCurrentHeader instanceof NotificationHeaderView groupHeader) {
                if (mTopLineViewState != null) {
                    mTopLineViewState.animateTo(mGroupHeader.getTopLineView(), properties);
                    mTopLineViewState.animateTo(groupHeader.getTopLineView(), properties);
                }
                if (mExpandButtonViewState != null) {
                    mExpandButtonViewState.animateTo(mGroupHeader.getExpandButton(), properties);
                    mExpandButtonViewState.animateTo(groupHeader.getExpandButton(), properties);
                }
            }
        }