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

Commit 1470dd00 authored by Aurélien Pomini's avatar Aurélien Pomini
Browse files

Attempting to fix SystemPaletteTests

Flag: com.android.window.flags.offload_color_extraction
Bug: 328791519
Test: atest SystemPaletteTest with ABTD
Change-Id: Ib4fa8b77ba7d35cbf1c7a241c91f4a7c216fee48
parent 2d24f84d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -537,7 +537,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
     * @return true unless the wallpaper changed during the color computation
     */
    private boolean extractColors(WallpaperData wallpaper) {
        if (offloadColorExtraction()) return !mImageWallpaper.equals(wallpaper.getComponent());
        if (offloadColorExtraction()) return true;
        String cropFile = null;
        boolean defaultImageWallpaper = false;
        int wallpaperId;