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

Commit 30e5c9e3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add all relevant fields to dumpsys media_projection" into main

parents 003ab933 e87a7336
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -1498,7 +1498,20 @@ public final class MediaProjectionManagerService extends SystemService
        }

        public void dump(PrintWriter pw) {
            pw.println("(" + packageName + ", uid=" + uid + "): " + typeToString(mType));
            pw.println("Projection:");
            pw.println("    packageName: " + packageName);
            pw.println("    uid: " + uid);
            pw.println("    userHandle: " + userHandle);
            pw.println("    type: " + typeToString(mType));
            pw.println("    started: " + mCreateTimeMillis);
            pw.println("    privileged: " + mIsPrivileged);
            pw.println("    granted SAW: " + mRestoreSystemAlertWindow);
            pw.println("    granted SAO: " + mRestoreSystemApplicationOverlay);
            pw.println("    mIsRecordingOverlay: " + mIsRecordingOverlay);
            pw.println("    displayId of the mirror display: " + mVirtualDisplayId);
            pw.println("    displayId of the display to mirror: " + mDisplayId);
            pw.println("    taskId to mirror: " + mTaskId);
            pw.println("    mSession: " + mSession.toString());
        }
    }