From 308ecfcc7e609a3156ec1b79d47bfc61feac243e Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Wed, 9 Mar 2011 14:29:56 -0800 Subject: [PATCH] Fix download of non-smart-forwarded attachments Bug: 3506114 Change-Id: Id3166402b0922eb1774ff484de249391fcc5e17c --- src/com/android/email/activity/MessageCompose.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/email/activity/MessageCompose.java b/src/com/android/email/activity/MessageCompose.java index 4b279a182..d73882669 100644 --- a/src/com/android/email/activity/MessageCompose.java +++ b/src/com/android/email/activity/MessageCompose.java @@ -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){