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

Commit e33a04b7 authored by Benjamin Gordon's avatar Benjamin Gordon Committed by Android (Google) Code Review
Browse files

Merge "PrintSpooler: Require empty output for PDF" into tm-dev

parents 80ae04f2 5829e120
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -376,7 +376,7 @@ public final class RemotePrintDocument {
        try {
            file = mDocumentInfo.fileProvider.acquireFile(null);
            in = new FileInputStream(file);
            out = contentResolver.openOutputStream(uri);
            out = contentResolver.openOutputStream(uri, "wt");
            final byte[] buffer = new byte[8192];
            while (true) {
                final int readByteCount = in.read(buffer);