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

Commit 88ba7c8f authored by Jay Aliomer's avatar Jay Aliomer Committed by Automerger Merge Worker
Browse files

Merge "Null check if renderer is null" into sc-v2-dev am: 31281969 am: 2ab81686

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16091797

Change-Id: I8dc0b0866be09cae5c0229af78996b60725867d0
parents 2b2c1fb4 2ab81686
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -238,9 +238,7 @@ public class ImageWallpaper extends WallpaperService {
                Bitmap bitmap = mMiniBitmap;
                if (bitmap == null) {
                    mLocalColorsToAdd.addAll(regions);
                    mRenderer.use(b -> {
                        updateMiniBitmapAndNotify(b);
                    });
                    if (mRenderer != null) mRenderer.use(this::updateMiniBitmapAndNotify);
                } else {
                    computeAndNotifyLocalColors(regions, bitmap);
                }