summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Lucas Dupin <dupin@google.com> 2022-01-07 11:54:25 -0800
committer Lucas Dupin <dupin@google.com> 2022-02-14 19:34:22 +0000
commit6d8acfba32c289be517b5be2d6f9e37053bc9795 (patch)
treeccdca2192da5bf4d2aaa78e8438e91bdb27d21ef
parent84ba5d259f98ad19e6525585bc0209a5a39a2fa6 (diff)
Fix brokn theming test
Test: atest ThemeOverlayControllerTest Bug: 211838535 Fixes: 219026714 Change-Id: Ibb2a730280a25b39cac96415de8b82430843064b Merged-In: Ibb2a730280a25b39cac96415de8b82430843064b (cherry picked from commit e6e0a6c49b15b14115edb0075517ca0faf6711f7)
-rw-r--r--packages/SystemUI/tests/src/com/android/systemui/theme/ThemeOverlayControllerTest.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/theme/ThemeOverlayControllerTest.java b/packages/SystemUI/tests/src/com/android/systemui/theme/ThemeOverlayControllerTest.java
index 5b55c41662a7..8c0a05f2e046 100644
--- a/packages/SystemUI/tests/src/com/android/systemui/theme/ThemeOverlayControllerTest.java
+++ b/packages/SystemUI/tests/src/com/android/systemui/theme/ThemeOverlayControllerTest.java
@@ -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);