Issue 4594: draft not saved with shared info

When another app shared info with K-9 Mail, the draft was not
always being saved when the "Save as draft" menu option was selected.
This commit is contained in:
Joe Steele 2013-10-09 15:53:39 -04:00
parent 33678ea022
commit 005241d97b
1 changed files with 1 additions and 2 deletions

View File

@ -736,6 +736,7 @@ public class MessageCompose extends K9Activity implements OnClickListener,
if (initFromIntent(intent)) {
mAction = Action.COMPOSE;
mDraftNeedsSaving = true;
} else {
String action = intent.getAction();
if (ACTION_COMPOSE.equals(action)) {
@ -873,8 +874,6 @@ public class MessageCompose extends K9Activity implements OnClickListener,
mEncryptLayout.setVisibility(View.GONE);
}
mDraftNeedsSaving = false;
// Set font size of input controls
int fontSize = mFontSizes.getMessageComposeInput();
mFontSizes.setViewTextSize(mToView, fontSize);