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

Commit fdf7c913 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Ignore DarkTheme color tests on devices with dynamic color." into udc-dev am: 8f71f97d

parents e590f6f0 8f71f97d
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));
    }