Fixes a bug where children could have a colored background

Because notifications can have had an override color and could
then become children, the color could stick around.

Test: runtest systemui
Change-Id: Ie89807c41a12b2d4a405c77d6da1c4e4ac78b325
Fixes: 34740139
This commit is contained in:
Selim Cinek
2017-02-15 16:21:10 -08:00
parent d4776a52b4
commit 9ce3285dc3

View File

@@ -462,6 +462,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
updateBackgroundForGroupState();
updateClickAndFocus();
if (mNotificationParent != null) {
setOverrideTintColor(NO_COLOR, 0.0f);
mNotificationParent.updateBackgroundForGroupState();
}
updateIconVisibilities();