Merge "Return colors of areas even if they are not in current page" into sc-dev

This commit is contained in:
Jay Aliomer
2021-06-07 19:45:12 +00:00
committed by Android (Google) Code Review

View File

@@ -1764,6 +1764,7 @@ public abstract class WallpaperService extends Service {
float finalStep = step;
int finalPageIndx = pageIndx;
Bitmap screenShot = page.getBitmap();
if (screenShot == null) screenShot = mLastScreenshot;
if (screenShot == null || screenShot.isRecycled()) {
if (DEBUG) {
Log.d(TAG, "invalid bitmap " + screenShot