Loading packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +1 −0 Original line number Diff line number Diff line Loading @@ -1451,6 +1451,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView if (mIsSummaryWithChildren) { mChildrenContainer.setDark(dark, fade, delay); } updateShelfIconColor(); } public boolean isExpandable() { Loading packages/SystemUI/tests/src/com/android/systemui/statusbar/ExpandableNotificationRowTest.java +7 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,13 @@ public class ExpandableNotificationRowTest extends SysuiTestCase { verify(row).updateShelfIconColor(); } @Test public void testIconColorShouldBeUpdatedWhenSettingDark() throws Exception { ExpandableNotificationRow row = spy(mNotificationTestHelper.createRow()); row.setDark(true, false, 0); verify(row).updateShelfIconColor(); } @Test public void testAboveShelfChangedListenerCalled() throws Exception { ExpandableNotificationRow row = mNotificationTestHelper.createRow(); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +1 −0 Original line number Diff line number Diff line Loading @@ -1451,6 +1451,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView if (mIsSummaryWithChildren) { mChildrenContainer.setDark(dark, fade, delay); } updateShelfIconColor(); } public boolean isExpandable() { Loading
packages/SystemUI/tests/src/com/android/systemui/statusbar/ExpandableNotificationRowTest.java +7 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,13 @@ public class ExpandableNotificationRowTest extends SysuiTestCase { verify(row).updateShelfIconColor(); } @Test public void testIconColorShouldBeUpdatedWhenSettingDark() throws Exception { ExpandableNotificationRow row = spy(mNotificationTestHelper.createRow()); row.setDark(true, false, 0); verify(row).updateShelfIconColor(); } @Test public void testAboveShelfChangedListenerCalled() throws Exception { ExpandableNotificationRow row = mNotificationTestHelper.createRow(); Loading