David PHAM-VAN

Remove default .pdf extension added to the Android printJob

@@ -3,6 +3,7 @@ @@ -3,6 +3,7 @@
3 ## 5.9.0 3 ## 5.9.0
4 4
5 - Typo: change "DownloadbleFont" to "DownloadableFont" 5 - Typo: change "DownloadbleFont" to "DownloadableFont"
  6 +- Remove default .pdf extension added to the Android printJob
6 7
7 ## 5.8.0 8 ## 5.8.0
8 9
@@ -424,7 +424,7 @@ public class PrintingJob extends PrintDocumentAdapter { @@ -424,7 +424,7 @@ public class PrintingJob extends PrintDocumentAdapter {
424 void setDocument(byte[] data) { 424 void setDocument(byte[] data) {
425 documentData = data; 425 documentData = data;
426 426
427 - PrintDocumentInfo info = new PrintDocumentInfo.Builder(jobName + ".pdf") 427 + PrintDocumentInfo info = new PrintDocumentInfo.Builder(jobName)
428 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT) 428 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT)
429 .build(); 429 .build();
430 430