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

Commit 7fc91c94 authored by Xin Li's avatar Xin Li
Browse files

Merge RQ2A.210305.007

Bug: 180401296
Merged-In: I5c36ecbac4c423627c8cab1b65a6e77bde5bd55b
Change-Id: I586b0af8bfc298d35f6570723db7015ddf621278
parents fddada23 d3063e9e
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);
                    }
                }
            });
        }
    }