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

Commit e87a7336 authored by Marvin Ramin's avatar Marvin Ramin
Browse files

Add all relevant fields to dumpsys media_projection

Bug: 409601090
Flag: EXEMPT refactor
Test: dumpsys media_projection
Change-Id: I51bbd87bc644092a9c61bfa56ea18505e3d23fa0
parent c03c5d10
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());
        }
    }