|
|
@ -81,12 +81,6 @@ public class MimePartDataSource implements DataSource, MessageAware {
|
|
|
|
|
|
|
|
|
|
|
|
String encoding =
|
|
|
|
String encoding =
|
|
|
|
MimeBodyPart.restrictEncoding(part, part.getEncoding());
|
|
|
|
MimeBodyPart.restrictEncoding(part, part.getEncoding());
|
|
|
|
try {
|
|
|
|
|
|
|
|
eu.faircode.email.Log.i("MimePartDataSource encoding=" + encoding +
|
|
|
|
|
|
|
|
" name=" + part.getFileName());
|
|
|
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
|
|
|
eu.faircode.email.Log.e(ex);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (encoding != null)
|
|
|
|
if (encoding != null)
|
|
|
|
return MimeUtility.decode(is, encoding);
|
|
|
|
return MimeUtility.decode(is, encoding);
|
|
|
|
else
|
|
|
|
else
|
|
|
|