am ba7decd8: Merge change I1197ac76 into eclair

Merge commit 'ba7decd89de39d3ed8d27e8e0e48ad517b435190' into eclair-mr2

* commit 'ba7decd89de39d3ed8d27e8e0e48ad517b435190':
  MessageCompose: allow sending email when started through external intent.
This commit is contained in:
Mihai Preda 2009-10-04 15:20:29 -07:00 committed by Android Git Automerger
commit 84ae53c850

View File

@ -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);