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

Commit d3063e9e authored by Xin Li's avatar Xin Li
Browse files

Merge ab/7061308 into stage.

Bug: 180401296
Merged-In: I8bc2fc55fe3ac438b571d66d7323e3fc74dc678b
Change-Id: I5c36ecbac4c423627c8cab1b65a6e77bde5bd55b
parents 58866144 5497138a
Loading
Loading
Loading
Loading
+27 −25
Original line number Diff line number Diff line
@@ -148,6 +148,7 @@ public class WallpaperPreviewer implements LifecycleObserver {
    private void setUpWallpaperPreview() {
        ImageView homeImageWallpaper = mWallpaperSurfaceCallback.getHomeImageWallpaper();
        if (mWallpaper != null && homeImageWallpaper != null) {
            homeImageWallpaper.post(() -> {
                boolean renderInImageWallpaperSurface = !(mWallpaper instanceof LiveWallpaperInfo);
                mWallpaper.getThumbAsset(mActivity.getApplicationContext())
                        .loadPreviewImage(mActivity,
@@ -176,6 +177,7 @@ public class WallpaperPreviewer implements LifecycleObserver {
                                mWallpaperColorsListener::onWallpaperColorsChanged);
                    }
                }
            });
        }
    }