Merge "Fix WallpaperManagerInternal NPE" into udc-dev am: 8977208b9d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23048820 Change-Id: I6f2dd27736a0d0fc02feaec9a90c0120b9f8e783 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user