Loading packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +1 −0 Original line number Diff line number Diff line Loading @@ -1395,6 +1395,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 @@ -95,4 +95,11 @@ public class ExpandableNotificationRowTest extends SysuiTestCase { row.setHideSensitive(true, false, 0, 0); verify(row).updateShelfIconColor(); } @Test public void testIconColorShouldBeUpdatedWhenSettingDark() throws Exception { ExpandableNotificationRow row = spy(mNotificationTestHelper.createRow()); row.setDark(true, false, 0); verify(row).updateShelfIconColor(); } } Loading
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +1 −0 Original line number Diff line number Diff line Loading @@ -1395,6 +1395,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 @@ -95,4 +95,11 @@ public class ExpandableNotificationRowTest extends SysuiTestCase { row.setHideSensitive(true, false, 0, 0); verify(row).updateShelfIconColor(); } @Test public void testIconColorShouldBeUpdatedWhenSettingDark() throws Exception { ExpandableNotificationRow row = spy(mNotificationTestHelper.createRow()); row.setDark(true, false, 0); verify(row).updateShelfIconColor(); } }