MessageCompose: allow sending email when started through external intent.
Bug: 2161199.
This commit is contained in:
parent
2787f001fb
commit
1197ac7692
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user