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

Commit 7e24581c authored by Aurélien Pomini's avatar Aurélien Pomini Committed by Gerrit Code Review
Browse files

Merge "WallpaperManagerService:fix NPE happen in onDisplayReadyInternal method ." into main

parents f4d84e1a 775c1629
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3436,7 +3436,8 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
            }
            // System wallpaper does not support multiple displays, attach this display to
            // the fallback wallpaper.
            if (mFallbackWallpaper != null) {
            if (mFallbackWallpaper != null && mFallbackWallpaper
                        .connection != null) {
                final DisplayConnector connector = mFallbackWallpaper
                        .connection.getDisplayConnectorOrCreate(displayId);
                if (connector == null) return;