Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit defcfa83 authored by Chris Poultney's avatar Chris Poultney Committed by Android (Google) Code Review
Browse files

Merge "Fixes NPE when running `dumpsys wallpaper`" into udc-dev

parents df4ebb53 98682a62
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -3569,6 +3569,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
    private void dumpWallpaper(WallpaperData wallpaper, PrintWriter pw) {
    private void dumpWallpaper(WallpaperData wallpaper, PrintWriter pw) {
        if (wallpaper == null) {
        if (wallpaper == null) {
            pw.println(" (null entry)");
            pw.println(" (null entry)");
            return;
        }
        }
        pw.print(" User "); pw.print(wallpaper.userId);
        pw.print(" User "); pw.print(wallpaper.userId);
        pw.print(": id="); pw.print(wallpaper.wallpaperId);
        pw.print(": id="); pw.print(wallpaper.wallpaperId);