Fix download of non-smart-forwarded attachments

Bug: 3506114
Change-Id: Id3166402b0922eb1774ff484de249391fcc5e17c
This commit is contained in:
Marc Blank 2011-03-09 14:29:56 -08:00
parent add274a704
commit 308ecfcc7e

View File

@ -947,7 +947,7 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
boolean hasUnloadedAttachments = false;
for (Attachment attachment : attachments) {
if (attachment.mContentUri == null &&
((attachment.mFlags & Attachment.FLAG_SMART_FORWARD) != 0)) {
((attachment.mFlags & Attachment.FLAG_SMART_FORWARD) == 0)) {
attachment.mFlags |= Attachment.FLAG_DOWNLOAD_FORWARD;
hasUnloadedAttachments = true;
if (Email.DEBUG){