Added logging

pull/194/head
M66B 5 years ago
parent 824d3b3b3f
commit 2bd3a7c46e

@ -2353,8 +2353,10 @@ public class MessageHelper {
parts.attachments.add(apart); parts.attachments.add(apart);
return parts; return parts;
} } else
} Log.e(ct + " parts=" + multipart.getCount());
} else
Log.e(ct.toString());
} else if (part.isMimeType("multipart/encrypted")) { } else if (part.isMimeType("multipart/encrypted")) {
ContentType ct = new ContentType(part.getContentType()); ContentType ct = new ContentType(part.getContentType());
String protocol = ct.getParameter("protocol"); String protocol = ct.getParameter("protocol");
@ -2364,8 +2366,10 @@ public class MessageHelper {
// Ignore header // Ignore header
getMessageParts(multipart.getBodyPart(1), parts, EntityAttachment.PGP_MESSAGE); getMessageParts(multipart.getBodyPart(1), parts, EntityAttachment.PGP_MESSAGE);
return parts; return parts;
} } else
} Log.e(ct + " parts=" + multipart.getCount());
} else
Log.e(ct.toString());
} else if (part.isMimeType("application/pkcs7-mime") || } else if (part.isMimeType("application/pkcs7-mime") ||
part.isMimeType("application/x-pkcs7-mime")) { part.isMimeType("application/x-pkcs7-mime")) {
ContentType ct = new ContentType(part.getContentType()); ContentType ct = new ContentType(part.getContentType());

Loading…
Cancel
Save