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

Commit 94105ee2 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-qpr-dev

parents d96bb1f7 dc89ac21
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);