resolve merge conflicts of 695f21a661 to oc-dr1-dev
Test: I solemnly swear I tested this conflict resolution. Change-Id: Ifeffa55c7fb80b0f327ecc5b50cefeca9db6457b Merged-In: I558447f282bb54f13be1622c3f2528a383fbc3b7
This commit is contained in:
@@ -1451,6 +1451,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
|
||||
if (mIsSummaryWithChildren) {
|
||||
mChildrenContainer.setDark(dark, fade, delay);
|
||||
}
|
||||
updateShelfIconColor();
|
||||
}
|
||||
|
||||
public boolean isExpandable() {
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user