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

Commit b0215287 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android Git Automerger
Browse files

am 57f1c60f: am 2658f35a: am 6bf10299: Merge "Deleting print job files when we...

am 57f1c60f: am 2658f35a: am 6bf10299: Merge "Deleting print job files when we do not have to." into klp-dev

* commit '57f1c60f':
  Deleting print job files when we do not have to.
parents 3f74f038 57f1c60f
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);