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

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

Merge "Enable group child bg fix when redesign flag is on" into main

parents c2e7ada4 6447c38e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4011,7 +4011,8 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
            }
        } else if (isChildInGroup()) {
            final int childColor = getShowingLayout().getBackgroundColorForExpansionState();
            if (Flags.notificationRowTransparency() && childColor == Color.TRANSPARENT) {
            if ((Flags.notificationRowTransparency() || notificationsRedesignTemplates())
                    && childColor == Color.TRANSPARENT) {
                // If child is not customizing its background color, switch from the parent to
                // the child background when the expansion finishes.
                mShowNoBackground = !mNotificationParent.mShowNoBackground;