|
|
@ -4973,7 +4973,7 @@ public class MessageHelper {
|
|
|
|
|
|
|
|
|
|
|
|
String ct = contentType.getBaseType();
|
|
|
|
String ct = contentType.getBaseType();
|
|
|
|
if (("text/plain".equalsIgnoreCase(ct) || "text/html".equalsIgnoreCase(ct)) &&
|
|
|
|
if (("text/plain".equalsIgnoreCase(ct) || "text/html".equalsIgnoreCase(ct)) &&
|
|
|
|
!Part.ATTACHMENT.equalsIgnoreCase(disposition) && TextUtils.isEmpty(filename) &&
|
|
|
|
!Part.ATTACHMENT.equalsIgnoreCase(disposition) &&
|
|
|
|
(size <= MAX_MESSAGE_SIZE || size == Integer.MAX_VALUE)) {
|
|
|
|
(size <= MAX_MESSAGE_SIZE || size == Integer.MAX_VALUE)) {
|
|
|
|
parts.text.add(new PartHolder(part, contentType));
|
|
|
|
parts.text.add(new PartHolder(part, contentType));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|