Added remark

pull/214/head
M66B 1 year ago
parent 2219fc19f1
commit c31b905800

@ -399,6 +399,17 @@ public class FragmentDialogPrint extends FragmentDialogBase {
EntityLog.log(context, "Print queued job=" + job.getInfo());
} catch (Throwable ex) {
try {
// android.content.ActivityNotFoundException: No Activity found to handle null
// at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2206)
// at android.app.Activity.startIntentSenderForResultInner(Activity.java:6020)
// at android.app.Activity.startIntentSenderForResult(Activity.java:5983)
// at androidx.activity.ComponentActivity.startIntentSenderForResult(SourceFile:2)
// at android.app.Activity.startIntentSenderForResult(Activity.java:5938)
// at androidx.activity.ComponentActivity.startIntentSenderForResult(SourceFile:1)
// at android.app.Activity.startIntentSender(Activity.java:6186)
// at android.app.Activity.startIntentSender(Activity.java:6152)
// at android.print.PrintManager.print(PrintManager.java:538)
// at eu.faircode.email.FragmentDialogPrint$7$2.onPageFinished(SourceFile:127)
Log.unexpectedError(fm, ex, !(ex instanceof ActivityNotFoundException));
} catch (IllegalStateException exex) {
ToastEx.makeText(context, Log.formatThrowable(ex), Toast.LENGTH_LONG).show();

Loading…
Cancel
Save