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

Commit 6bf10299 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android (Google) Code Review
Browse files

Merge "Deleting print job files when we do not have to." into klp-dev

parents 2d94c573 2b40c83a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -440,8 +440,9 @@ public final class PrintSpoolerService extends Service {
                    if (fileForJobMap == null) {
                        fileForJobMap = new ArrayMap<PrintJobId, File>();
                    }
                    String printJobIdString = file.getName().substring(0,
                            PRINT_JOB_FILE_PREFIX.length());
                    String printJobIdString = file.getName().substring(
                            PRINT_JOB_FILE_PREFIX.length(),
                            file.getName().indexOf('.'));
                    PrintJobId printJobId = PrintJobId.unflattenFromString(
                            printJobIdString);
                    fileForJobMap.put(printJobId, file);