From 1197ac7692588f1da0a4da58ad041700a0e4720a Mon Sep 17 00:00:00 2001 From: Mihai Preda Date: Fri, 2 Oct 2009 15:53:28 +0200 Subject: [PATCH] MessageCompose: allow sending email when started through external intent. Bug: 2161199. --- src/com/android/email/activity/MessageCompose.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/email/activity/MessageCompose.java b/src/com/android/email/activity/MessageCompose.java index d74749845..9373394ed 100644 --- a/src/com/android/email/activity/MessageCompose.java +++ b/src/com/android/email/activity/MessageCompose.java @@ -305,6 +305,7 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus // Use the fields found in the Intent to prefill as much of the message as possible initFromIntent(intent); mDraftNeedsSaving = true; + mMessageLoaded = true; } else { // Otherwise, handle the internal cases (Message Composer invoked from within app) long messageId = draftId != -1 ? draftId : intent.getLongExtra(EXTRA_MESSAGE_ID, -1);