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

Commit 7ea4f66f authored by Ian Pedowitz's avatar Ian Pedowitz Committed by android-build-merger
Browse files

Merge "Fixed an issue where the icons had the wrong color" into oc-dev

am: 695f21a6

Change-Id: Id515004fae2e8ad90346ce82b334ae6f61b2c086
parents b42e50a3 695f21a6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1395,6 +1395,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
@@ -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();
    }
}