Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be261948 authored by Ian Pedowitz's avatar Ian Pedowitz Committed by Android (Google) Code Review
Browse files

Merge "resolve merge conflicts of 695f21a6 to oc-dr1-dev" into oc-dr1-dev

parents 89d6859d a27856d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1451,6 +1451,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
        if (mIsSummaryWithChildren) {
            mChildrenContainer.setDark(dark, fade, delay);
        }
        updateShelfIconColor();
    }

    public boolean isExpandable() {
+7 −0
Original line number Diff line number Diff line
@@ -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();