MessageCompose: properly remove quoted text from saved draft.

Bug 2363249.
This commit is contained in:
Mihai Preda 2010-01-26 17:19:49 +01:00
parent 7cf95265bd
commit e3e65ed919

View File

@ -1020,6 +1020,9 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
case R.id.quoted_text_delete: case R.id.quoted_text_delete:
mQuotedTextBar.setVisibility(View.GONE); mQuotedTextBar.setVisibility(View.GONE);
mQuotedText.setVisibility(View.GONE); mQuotedText.setVisibility(View.GONE);
mDraft.mIntroText = null;
mDraft.mTextReply = null;
mDraft.mHtmlReply = null;
setDraftNeedsSaving(true); setDraftNeedsSaving(true);
break; break;
} }