Merge "Fixed an issue where the icons had the wrong color" into oc-dev
am: 695f21a661
Change-Id: Id515004fae2e8ad90346ce82b334ae6f61b2c086
This commit is contained in:
@@ -1395,6 +1395,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
|
||||
if (mIsSummaryWithChildren) {
|
||||
mChildrenContainer.setDark(dark, fade, delay);
|
||||
}
|
||||
updateShelfIconColor();
|
||||
}
|
||||
|
||||
public boolean isExpandable() {
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user