Merge "Fixes NPE when running dumpsys wallpaper" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
defcfa838f
@@ -3569,6 +3569,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
|
||||
private void dumpWallpaper(WallpaperData wallpaper, PrintWriter pw) {
|
||||
if (wallpaper == null) {
|
||||
pw.println(" (null entry)");
|
||||
return;
|
||||
}
|
||||
pw.print(" User "); pw.print(wallpaper.userId);
|
||||
pw.print(": id="); pw.print(wallpaper.wallpaperId);
|
||||
|
||||
Reference in New Issue
Block a user