Merge "Fix WallpaperManagerInternal NPE" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8977208b9d
@@ -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