From 5fd986fca0ebd38a4dc41a12503a41ed6005bd2a Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Tue, 24 Aug 2010 16:20:47 -0700 Subject: [PATCH] Fix problem w/ forwarding already loaded attachments Bug: 2938562 Change-Id: I778623bf5ee56d25eab5a74d86e9f89206e7f348 --- 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 384369527..c46fd6a54 100644 --- a/src/com/android/email/activity/MessageCompose.java +++ b/src/com/android/email/activity/MessageCompose.java @@ -884,7 +884,7 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus // this attachment is new so save it to DB. attachment.mMessageKey = mDraft.mId; attachment.save(MessageCompose.this); - } else if (attachment.mContentUri == null) { + } else { // We clone the attachment and save it again; otherwise, it will // continue to point to the source message. From this point forward, // the attachments will be independent of the original message in the