Merge "Parent notifications should always be normal notification color" into nyc-dev am: 09ca7e73c0
am: 0e6207ef40
* commit '0e6207ef406d1fad389a9831e6c8816b274ad2b5':
Parent notifications should always be normal notification color
Change-Id: I73542bc4adf5240ec130bac09ef788248f929a9b
This commit is contained in:
@@ -1166,6 +1166,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
|
|||||||
mChildrenContainer.recreateNotificationHeader(mExpandClickListener,
|
mChildrenContainer.recreateNotificationHeader(mExpandClickListener,
|
||||||
mEntry.notification);
|
mEntry.notification);
|
||||||
}
|
}
|
||||||
|
getShowingLayout().updateBackgroundColor(false /* animate */);
|
||||||
mPrivateLayout.updateExpandButtons(isExpandable());
|
mPrivateLayout.updateExpandButtons(isExpandable());
|
||||||
updateChildrenHeaderAppearance();
|
updateChildrenHeaderAppearance();
|
||||||
updateChildrenVisibility();
|
updateChildrenVisibility();
|
||||||
|
|||||||
@@ -127,7 +127,8 @@ public class NotificationCustomViewWrapper extends NotificationViewWrapper {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getCustomBackgroundColor() {
|
public int getCustomBackgroundColor() {
|
||||||
return mBackgroundColor;
|
// Parent notifications should always use the normal background color
|
||||||
|
return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user