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

Commit e25a2ca3 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 7035057 from 0c3d74bc to rvc-qpr2-release

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