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

Commit 98682a62 authored by Chris Poultney's avatar Chris Poultney
Browse files

Fixes NPE when running `dumpsys wallpaper`

Bug: 277077910
Test: code compiles, can't test because can't repro failure state
Change-Id: I67adf550cee51273e94b21479fdfaa3f6f252578
parent 4c0e309f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);