Merge "Don't use multipart/alternative for SmartReply/Forward text"

This commit is contained in:
Marc Blank 2011-05-27 08:45:34 -07:00 committed by Android (Google) Code Review
commit dfc65c67b0

View File

@ -163,7 +163,11 @@ public class Rfc822Output {
}
}
messageBody[INDEX_BODY_TEXT] = text;
messageBody[INDEX_BODY_HTML] = getHtmlAlternate(body, useSmartReply);
// Exchange 2003 doesn't seem to support multipart w/SmartReply and SmartForward, so
// we'll skip this. Really, it would only matter if we could compose HTML replies
if (!useSmartReply) {
messageBody[INDEX_BODY_HTML] = getHtmlAlternate(body, useSmartReply);
}
return messageBody;
}