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

Commit 48f05271 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Close heap dump ParcelFileDescriptor." into rvc-dev

parents 486fdc0b f1ddecc6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1170,6 +1170,8 @@ public final class ActivityThread extends ClientTransactionHandler {
            } catch (IOException e) {
                Slog.e(TAG, "Failed to duplicate heap dump file descriptor", e);
                return;
            } finally {
                IoUtils.closeQuietly(fd);
            }
            dhd.finishCallback = finishCallback;
            sendMessage(H.DUMP_HEAP, dhd, 0, 0, true /*async*/);