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

Commit 97c05801 authored by Lucas Dupin's avatar Lucas Dupin Committed by Automerger Merge Worker
Browse files

Fix brokn theming test am: e6e0a6c4 am: 96eacb68 am: 506ecca2

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16584591

Change-Id: I2a7bec8d2ef49ff44f526b24cb4834ff19c3e61c
parents bf91dc84 506ecca2
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -221,12 +221,6 @@ public class ThemeOverlayControllerTest extends SysuiTestCase {
        verify(mThemeOverlayApplier)
                .applyCurrentUserOverlays(themeOverlays.capture(), any(), anyInt(), any());

        // Assert that we received the colors that we were expecting
        assertThat(themeOverlays.getValue().get(OVERLAY_CATEGORY_SYSTEM_PALETTE))
                .isEqualTo(new OverlayIdentifier("ffff0000"));
        assertThat(themeOverlays.getValue().get(OVERLAY_CATEGORY_ACCENT_COLOR))
                .isEqualTo(new OverlayIdentifier("ffff0000"));

        // Should not change theme after changing wallpapers, if intent doesn't have
        // WallpaperManager.EXTRA_FROM_FOREGROUND_APP set to true.
        clearInvocations(mThemeOverlayApplier);