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

Commit ea6724a3 authored by Christopher Tate's avatar Christopher Tate
Browse files

Don't try to register (and invoke!) intentional null callbacks

Change-Id: Iccb9df242a4d6c3aea03be9132f83afb70be0397
parent f4910511
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1105,7 +1105,9 @@ public class WallpaperManagerService extends IWallpaperManager.Stub {
                    outParams.putInt("width", wallpaper.width);
                    outParams.putInt("height", wallpaper.height);
                }
                if (cb != null) {
                    wallpaper.callbacks.register(cb);
                }
                if (!wallpaper.cropFile.exists()) {
                    return null;
                }