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

Commit f93debc2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Call new code path when bundle ui flag is enabled" into main

parents cc83e680 1cf01381
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -2920,7 +2920,11 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
        if (mIsSummaryWithChildren && !shouldShowPublic() && allowChildExpansion
                && !mChildrenContainer.showingAsLowPriority()) {
            final boolean wasExpanded = isGroupExpanded();
            if (NotificationBundleUi.isEnabled()) {
                mGroupExpansionManager.setGroupExpanded(mEntryAdapter, userExpanded);
            } else {
                mGroupExpansionManager.setGroupExpanded(mEntry, userExpanded);
            }
            onExpansionChanged(true /* userAction */, wasExpanded);
            return;
        }
@@ -3399,8 +3403,12 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
    public void makeActionsVisibile() {
        setUserExpanded(true, true);
        if (isChildInGroup()) {
            if (NotificationBundleUi.isEnabled()) {
                mGroupExpansionManager.setGroupExpanded(mEntryAdapter, true);
            } else {
                mGroupExpansionManager.setGroupExpanded(mEntry, true);
            }
        }
        notifyHeightChanged(/* needsAnimation= */ false);
    }