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

Commit ed82890f authored by Kweku Adams's avatar Kweku Adams
Browse files

Fix QuotaController dump.

1. Remove extra space before "EJ" in the timer dump.
2. Actually print out the list of system installers. SparseSetArray
   doesn't have toString() implemented.

Bug: 141645789
Bug: 141495777
Test: adb shell dumpsys jobscheduler
Change-Id: Ia6e88b0b1177dc585fcca4a29d658b5a9370b60b
parent f9c4ee1f
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -4075,7 +4075,16 @@ public final class QuotaController extends StateController {

        pw.println("Special apps:");
        pw.increaseIndent();
        pw.print("System installers", mSystemInstallers.toString());
        pw.print("System installers={");
        for (int si = 0; si < mSystemInstallers.size(); ++si) {
            if (si > 0) {
                pw.print(", ");
            }
            pw.print(mSystemInstallers.keyAt(si));
            pw.print("->");
            pw.print(mSystemInstallers.get(si));
        }
        pw.println("}");
        pw.decreaseIndent();

        pw.println();