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

Commit 9584cb6c authored by Felipe Leme's avatar Felipe Leme
Browse files

Improved wallpaper dump() to show default components.

Test: adb shell dumpsys wallpaper|head -2
Bug: 145558164

Change-Id: I1c9208824091e534a3ee88f0182ee496dfd5e116
parent 874951f0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3392,6 +3392,9 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
    protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
        if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return;

        pw.print("mDefaultWallpaperComponent="); pw.println(mDefaultWallpaperComponent);
        pw.print("mImageWallpaper="); pw.println(mImageWallpaper);

        synchronized (mLock) {
            pw.println("System wallpaper state:");
            for (int i = 0; i < mWallpaperMap.size(); i++) {