summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author George Lin <giolin@google.com> 2024-12-16 18:13:49 +0000
committer George Lin <giolin@google.com> 2024-12-17 18:42:33 +0000
commit18e650e7e7d0c9013cd5db08fed633053268510d (patch)
tree2e263ed0cc238c0e0d6ce2ca858e72efef172d49
parent5968e1addcab4fd63372613c3d0dcc7edcde03ab (diff)
Run onWallpaperColorsChanged_changeLockWallpaper only when flag off
The test is no longer valid when the new customziation picker ui flag is on. Thus we should only run when the flag is disablde. Test: NA Bug: 384058746 Bug: 372281743 Flag: com.android.systemui.shared.new_customization_picker_ui Change-Id: I748cb7018883d1777d2bcf5e1d7cfee717662853
-rw-r--r--packages/SystemUI/multivalentTests/src/com/android/systemui/theme/ThemeOverlayControllerTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/multivalentTests/src/com/android/systemui/theme/ThemeOverlayControllerTest.java b/packages/SystemUI/multivalentTests/src/com/android/systemui/theme/ThemeOverlayControllerTest.java
index 7b52dd836b51..5cd0846ded7e 100644
--- a/packages/SystemUI/multivalentTests/src/com/android/systemui/theme/ThemeOverlayControllerTest.java
+++ b/packages/SystemUI/multivalentTests/src/com/android/systemui/theme/ThemeOverlayControllerTest.java
@@ -501,6 +501,7 @@ public class ThemeOverlayControllerTest extends SysuiTestCase {
}
@Test
+ @DisableFlags(com.android.systemui.shared.Flags.FLAG_NEW_CUSTOMIZATION_PICKER_UI)
public void onWallpaperColorsChanged_changeLockWallpaper() {
// Should ask for a new theme when wallpaper colors change
WallpaperColors mainColors = new WallpaperColors(Color.valueOf(Color.RED),