From 9ce3285dc3a5da05d21b0b1c4628ea3bf86f6644 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Wed, 15 Feb 2017 16:21:10 -0800 Subject: [PATCH] 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 --- .../android/systemui/statusbar/ExpandableNotificationRow.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java index 3648a060e6192..cb4306f0d1372 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java @@ -462,6 +462,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView { updateBackgroundForGroupState(); updateClickAndFocus(); if (mNotificationParent != null) { + setOverrideTintColor(NO_COLOR, 0.0f); mNotificationParent.updateBackgroundForGroupState(); } updateIconVisibilities();