From bfb2b2d56448c18caad06386ddb3186f03e1a71e Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 9 Jan 2020 15:51:36 +0100 Subject: [PATCH] Added logging --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 80b4644757..ded0a33563 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -4804,6 +4804,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. // Write decrypted body String html = parts.getHtml(context); Helper.writeText(message.getFile(context), html); + Log.i("s/mime html=" + (html == null ? null : html.length())); // Remove existing attachments db.attachment().deleteAttachments(message.id); @@ -4820,6 +4821,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. } catch (Throwable ex) { Log.e(ex); } + Log.i("s/mime attachment=" + remote); } db.message().setMessageEncrypt(message.id, parts.getEncryption());