Log print jobs

pull/187/head
M66B 4 years ago
parent d4c5de9210
commit 56edf54c0e

@ -7188,7 +7188,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
Log.i("Print queue job=" + jobName); Log.i("Print queue job=" + jobName);
PrintDocumentAdapter adapter = printWebView.createPrintDocumentAdapter(jobName); PrintDocumentAdapter adapter = printWebView.createPrintDocumentAdapter(jobName);
PrintJob job = printManager.print(jobName, adapter, new PrintAttributes.Builder().build()); PrintJob job = printManager.print(jobName, adapter, new PrintAttributes.Builder().build());
Log.i("Print queued job=" + job.getInfo()); EntityLog.log(context,"Print queued job=" + job.getInfo());
} catch (Throwable ex) { } catch (Throwable ex) {
Log.unexpectedError(getParentFragmentManager(), ex); Log.unexpectedError(getParentFragmentManager(), ex);
} finally { } finally {

Loading…
Cancel
Save