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

Commit 084121d1 authored by nongyujun's avatar nongyujun Committed by Yujun Nong
Browse files

Add --proto option in jobscheduler dumpHelp.

Flag: EXEMPT log only update
Test: manual
Bug: 363897064

Change-Id: I2970bc89fb3e12b328b06cd254308ffe431b8249
parent 233574e2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5808,9 +5808,10 @@ public class JobSchedulerService extends com.android.server.SystemService

    static void dumpHelp(PrintWriter pw) {
        pw.println("Job Scheduler (jobscheduler) dump options:");
        pw.println("  [-h] [package] ...");
        pw.println("  [-h] [package] [--proto] ...");
        pw.println("    -h: print this help");
        pw.println("  [package] is an optional package name to limit the output to.");
        pw.println("    --proto: output dump in protocol buffer format.");
    }

    /** Sort jobs by caller UID, then by Job ID. */