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

Commit 1325fdd0 authored by Jing Ji's avatar Jing Ji Committed by Android (Google) Code Review
Browse files

Merge "Close the GZIPOutputStream to release the deflater" into sc-dev

parents 964eafdc af4dcf57
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -448,7 +448,7 @@ public final class DropBoxManagerService extends SystemService {
                final GZIPOutputStream gzipOutputStream =
                        new GZIPOutputStream(new FileOutputStream(fd));
                FileUtils.copy(in, gzipOutputStream);
                gzipOutputStream.finish();
                gzipOutputStream.close();
            } else {
                FileUtils.copy(in, new FileOutputStream(fd));
            }