Merge "Move onKeyguardGoingAway outside ActivityManager lock" into udc-dev

This commit is contained in:
Aurélien Pomini
2023-05-26 10:07:37 +00:00
committed by Android (Google) Code Review

View File

@@ -3560,10 +3560,10 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
mRootWindowContainer.forAllDisplays(displayContent -> { mRootWindowContainer.forAllDisplays(displayContent -> {
mKeyguardController.keyguardGoingAway(displayContent.getDisplayId(), flags); mKeyguardController.keyguardGoingAway(displayContent.getDisplayId(), flags);
}); });
WallpaperManagerInternal wallpaperManagerInternal = getWallpaperManagerInternal(); }
if (wallpaperManagerInternal != null) { WallpaperManagerInternal wallpaperManagerInternal = getWallpaperManagerInternal();
wallpaperManagerInternal.onKeyguardGoingAway(); if (wallpaperManagerInternal != null) {
} wallpaperManagerInternal.onKeyguardGoingAway();
} }
} finally { } finally {
Binder.restoreCallingIdentity(token); Binder.restoreCallingIdentity(token);