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

Commit 99e225d4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixed a racecondition when creating notification headers"

parents e6fa9721 10bbc0ea
Loading
Loading
Loading
Loading
+259 −217

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -106,9 +106,9 @@ public class NotificationTest {
        int backgroundColor = 0xff585868;
        int initialForegroundColor = 0xff505868;
        builder.setColorPalette(backgroundColor, initialForegroundColor);
        int primaryTextColor = builder.getPrimaryTextColor();
        int primaryTextColor = builder.getPrimaryTextColor(builder.mParams);
        assertTrue(satisfiesTextContrast(primaryTextColor, backgroundColor));
        int secondaryTextColor = builder.getSecondaryTextColor();
        int secondaryTextColor = builder.getSecondaryTextColor(builder.mParams);
        assertTrue(satisfiesTextContrast(secondaryTextColor, backgroundColor));
    }