[automerge] Fix brokn theming test 2p: 6d8acfba32

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

Bug: 211838535
Change-Id: I94b805f41c493f2ba4200cfd04d429668fa0b1bd
Merged-In: Ibb2a730280a25b39cac96415de8b82430843064b
This commit is contained in:
Presubmit Automerger Backend
2022-02-14 19:34:34 +00:00

View File

@@ -200,12 +200,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);