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

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

Merge "Ignore DarkTheme color tests on devices with dynamic color." into udc-dev

parents 4b7f3172 df47552e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -69,7 +69,8 @@ public class DarkThemeUiTest extends ThemeUiTestBase {
    }

    @Test
    public void themeNightModeEnable_navigationBarColorShouldBeDark() {
    public void themeNightModeEnable_navigationBarColorShouldBeDark() throws Exception {
        assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color
        assertTheme(R.styleable.SystemWindow, R.styleable.SystemWindow_android_navigationBarColor,
                mTheme.getResources().getColor(android.R.color.black, mTheme));
    }