Fix mail sending for new message (#2158054)

Change-Id: I18fdf62f10ca350731446728b6095dabbc049bc1
This commit is contained in:
Marc Blank 2009-09-30 17:07:18 -07:00
parent 21563fad09
commit 2f222b4b86

View File

@ -312,6 +312,9 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
mLoadMessageTask = new LoadMessageTask().execute(messageId); mLoadMessageTask = new LoadMessageTask().execute(messageId);
} else { } else {
setAccount(intent); setAccount(intent);
// Since this is a new message, we don't need to call LoadMessageTask.
// But we DO need to set mMessageLoaded to indicate the message can be sent
mMessageLoaded = true;
} }
} }