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

Commit 775c1629 authored by lijilou's avatar lijilou Committed by Jilou li
Browse files

WallpaperManagerService:fix NPE happen in onDisplayReadyInternal method .

Bug: 338661733
Change-Id: I04ce021ef7838f0574875359daeb8c765d5f6a09
parent 2949179f
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;