diff options
Diffstat (limited to 'tests/app/WallpaperTest/src/android/app/cts/wallpapers/WallpaperManagerTest.java')
-rw-r--r-- | tests/app/WallpaperTest/src/android/app/cts/wallpapers/WallpaperManagerTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/app/WallpaperTest/src/android/app/cts/wallpapers/WallpaperManagerTest.java b/tests/app/WallpaperTest/src/android/app/cts/wallpapers/WallpaperManagerTest.java index c7ea05a23dd..d41303a7c99 100644 --- a/tests/app/WallpaperTest/src/android/app/cts/wallpapers/WallpaperManagerTest.java +++ b/tests/app/WallpaperTest/src/android/app/cts/wallpapers/WallpaperManagerTest.java @@ -696,6 +696,10 @@ public class WallpaperManagerTest { @Test public void invokeOnColorsChangedListenerTest_systemOnly() { + if (mWallpaperManager.isLockscreenLiveWallpaperEnabled()) { + verifyColorListenerInvoked(FLAG_SYSTEM, FLAG_SYSTEM); + return; + } int both = FLAG_LOCK | FLAG_SYSTEM; // Expect both since the first step is to migrate the current wallpaper // to the lock screen. |