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

Commit 04d3c066 authored by Aurélien Pomini's avatar Aurélien Pomini Committed by Automerger Merge Worker
Browse files

Merge "Fix WallpaperManagerInternal NPE" into udc-dev am: 8977208b

parents 9c6a0479 8977208b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3555,7 +3555,10 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
                mRootWindowContainer.forAllDisplays(displayContent -> {
                    mKeyguardController.keyguardGoingAway(displayContent.getDisplayId(), flags);
                });
                getWallpaperManagerInternal().onKeyguardGoingAway();
                WallpaperManagerInternal wallpaperManagerInternal = getWallpaperManagerInternal();
                if (wallpaperManagerInternal != null) {
                    wallpaperManagerInternal.onKeyguardGoingAway();
                }
            }
        } finally {
            Binder.restoreCallingIdentity(token);