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

Commit 86dc8128 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: ece7cd71

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

Change-Id: I70892c76677875b44e518ccbca435cea6f2b3fca
parents 85e4b054 ece7cd71
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