Merge "Fixes improbable NPE in WallpaperManagerService dump()" into udc-dev

This commit is contained in:
Chris Poultney
2023-03-22 20:25:15 +00:00
committed by Android (Google) Code Review

View File

@@ -3560,6 +3560,9 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
}
private void dumpWallpaper(WallpaperData wallpaper, PrintWriter pw) {
if (wallpaper == null) {
pw.println(" (null entry)");
}
pw.print(" User "); pw.print(wallpaper.userId);
pw.print(": id="); pw.print(wallpaper.wallpaperId);
pw.print(": mWhich="); pw.print(wallpaper.mWhich);