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

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

Merge "Improve pinner dumpsys to include MBs for max limits" into main

parents 4f9cb92f 695c6008
Loading
Loading
Loading
Loading
+6 −4
Original line number Original line Diff line number Diff line
@@ -1305,11 +1305,13 @@ public final class PinnerService extends SystemService {
                    mConfiguredMaxPinnedMemoryPercentage);
                    mConfiguredMaxPinnedMemoryPercentage);
            pw.format("   Maximum Pinner quota: %d bytes (%.2f MB)\n", mConfiguredMaxPinnedMemory,
            pw.format("   Maximum Pinner quota: %d bytes (%.2f MB)\n", mConfiguredMaxPinnedMemory,
                    mConfiguredMaxPinnedMemory / bytesPerMB);
                    mConfiguredMaxPinnedMemory / bytesPerMB);
            pw.format("   Max Home App Pin Bytes (without deps): %d\n", mConfiguredHomePinBytes);
            pw.format("   Max Home App Pin Bytes (without deps): %d (%.2f MB)\n",
            pw.format("   Max Assistant App Pin Bytes (without deps): %d\n",
                    mConfiguredHomePinBytes, mConfiguredHomePinBytes / bytesPerMB);
                    mConfiguredAssistantPinBytes);
            pw.format("   Max Assistant App Pin Bytes (without deps): %d (%.2f MB)\n",
                    mConfiguredAssistantPinBytes, mConfiguredAssistantPinBytes / bytesPerMB);
            pw.format(
            pw.format(
                    "   Max Camera App Pin Bytes (without deps): %d\n", mConfiguredCameraPinBytes);
                    "   Max Camera App Pin Bytes (without deps): %d (%.2f MB)\n",
                    mConfiguredCameraPinBytes, mConfiguredCameraPinBytes / bytesPerMB);
            pw.format("\nPinned Files:\n");
            pw.format("\nPinned Files:\n");
            synchronized (PinnerService.this) {
            synchronized (PinnerService.this) {
                long totalSize = 0;
                long totalSize = 0;