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

am: 9982d86abc

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

Change-Id: Icdda6486af4cccaacfc48dd30d8b97f0aaffa0a5
This commit is contained in:
Mady Mellor
2016-06-02 16:57:30 +00:00
committed by android-build-merger
2 changed files with 3 additions and 1 deletions

View File

@@ -1166,6 +1166,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
mChildrenContainer.recreateNotificationHeader(mExpandClickListener,
mEntry.notification);
}
getShowingLayout().updateBackgroundColor(false /* animate */);
mPrivateLayout.updateExpandButtons(isExpandable());
updateChildrenHeaderAppearance();
updateChildrenVisibility();

View File

@@ -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