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

Commit 2ab81686 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

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

Change-Id: Ic4d95eb6db481f282b9be56c40878b12241fd9fb
parents 961177ec 31281969
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);
                }