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

Commit 0c0cbbf4 authored by Chris Poultney's avatar Chris Poultney Committed by Android (Google) Code Review
Browse files

Merge "Adds a null check for an unlikely static wallpaper migration failure" into main

parents 79d2fedc cc58dca2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1256,7 +1256,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
                        // migrateStaticSystemToLockWallpaperLocked() and added to the lock wp map
                        // migrateStaticSystemToLockWallpaperLocked() and added to the lock wp map
                        // if successful.
                        // if successful.
                        WallpaperData lockWp = mLockWallpaperMap.get(mNewWallpaper.userId);
                        WallpaperData lockWp = mLockWallpaperMap.get(mNewWallpaper.userId);
                        if (lockWp != null) {
                        if (lockWp != null && mOriginalSystem.connection != null) {
                            // Successful rename, set old system+lock to the pending lock wp
                            // Successful rename, set old system+lock to the pending lock wp
                            if (DEBUG) {
                            if (DEBUG) {
                                Slog.v(TAG, "static system+lock to system success");
                                Slog.v(TAG, "static system+lock to system success");