Skip to content

Commit

Permalink
Fix crash in WorkingMessage.saveAsMms
Browse files Browse the repository at this point in the history
A set of steps will correctly cause the working message to get marked
as discarded. However, when restarting, the discarded working message
was not replaced with a good working message. Bug 1866477

Change-Id: I4b42402e3d539df2792b20fa5c3a2f4567085f08
  • Loading branch information
Tom Taylor committed Jan 25, 2011
1 parent d3248f2 commit b8d4622
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/com/android/mms/ui/ComposeMessageActivity.java
Expand Up @@ -1888,6 +1888,10 @@ protected void onRestart() {
mWorkingMessage.unDiscard(); // it was discarded in onStop().
} else if (isRecipientsEditorVisible()) {
goToConversationList();
} else {
loadDraft();
mWorkingMessage.setConversation(mConversation);
mAttachmentEditor.update(mWorkingMessage);
}
}
}
Expand Down

0 comments on commit b8d4622

Please sign in to comment.