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

Commit 10c9f35d authored by Edgar Arriaga García's avatar Edgar Arriaga García Committed by Android (Google) Code Review
Browse files

Merge "Remove pin file trace slice which can crash if file exceeds max trace length" into main

parents f835f34d 2f36b842
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1044,7 +1044,6 @@ public final class PinnerService extends SystemService {
        if (DEBUG) {
            Slog.d(TAG, "pin file: " + fileToPin + " use-pinlist: " + attemptPinIntrospection);
        }
        Trace.beginSection("pinFile:" + fileToPin);
        ZipFile fileAsZip = null;
        InputStream pinRangeStream = null;
        try {
@@ -1067,7 +1066,6 @@ public final class PinnerService extends SystemService {
        } finally {
            safeClose(pinRangeStream);
            safeClose(fileAsZip);  // Also closes any streams we've opened
            Trace.endSection();
        }
    }