Merge "resolve merge conflicts of 695f21a661 to oc-dr1-dev" into oc-dr1-dev
This commit is contained in:
@@ -1451,6 +1451,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
|
|||||||
if (mIsSummaryWithChildren) {
|
if (mIsSummaryWithChildren) {
|
||||||
mChildrenContainer.setDark(dark, fade, delay);
|
mChildrenContainer.setDark(dark, fade, delay);
|
||||||
}
|
}
|
||||||
|
updateShelfIconColor();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isExpandable() {
|
public boolean isExpandable() {
|
||||||
|
|||||||
@@ -98,6 +98,13 @@ public class ExpandableNotificationRowTest extends SysuiTestCase {
|
|||||||
verify(row).updateShelfIconColor();
|
verify(row).updateShelfIconColor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testIconColorShouldBeUpdatedWhenSettingDark() throws Exception {
|
||||||
|
ExpandableNotificationRow row = spy(mNotificationTestHelper.createRow());
|
||||||
|
row.setDark(true, false, 0);
|
||||||
|
verify(row).updateShelfIconColor();
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testAboveShelfChangedListenerCalled() throws Exception {
|
public void testAboveShelfChangedListenerCalled() throws Exception {
|
||||||
ExpandableNotificationRow row = mNotificationTestHelper.createRow();
|
ExpandableNotificationRow row = mNotificationTestHelper.createRow();
|
||||||
|
|||||||
Reference in New Issue
Block a user