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

Commit 9982d86a authored by Mady Mellor's avatar Mady Mellor Committed by android-build-merger
Browse files

Merge "Parent notifications should always be normal notification color" into nyc-dev am: 09ca7e73

am: 0e6207ef

* commit '0e6207ef':
  Parent notifications should always be normal notification color

Change-Id: I73542bc4adf5240ec130bac09ef788248f929a9b
parents 4cdc2997 0e6207ef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1166,6 +1166,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
            mChildrenContainer.recreateNotificationHeader(mExpandClickListener,
                    mEntry.notification);
        }
        getShowingLayout().updateBackgroundColor(false /* animate */);
        mPrivateLayout.updateExpandButtons(isExpandable());
        updateChildrenHeaderAppearance();
        updateChildrenVisibility();
+2 −1
Original line number Diff line number Diff line
@@ -127,7 +127,8 @@ public class NotificationCustomViewWrapper extends NotificationViewWrapper {

    @Override
    public int getCustomBackgroundColor() {
        return mBackgroundColor;
        // Parent notifications should always use the normal background color
        return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor;
    }

    @Override