From e3e65ed9195f2258c8a5eb452690e60c70461940 Mon Sep 17 00:00:00 2001 From: Mihai Preda Date: Tue, 26 Jan 2010 17:19:49 +0100 Subject: [PATCH] MessageCompose: properly remove quoted text from saved draft. Bug 2363249. --- src/com/android/email/activity/MessageCompose.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/android/email/activity/MessageCompose.java b/src/com/android/email/activity/MessageCompose.java index c6a8eff90..281f43403 100644 --- a/src/com/android/email/activity/MessageCompose.java +++ b/src/com/android/email/activity/MessageCompose.java @@ -1020,6 +1020,9 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus case R.id.quoted_text_delete: mQuotedTextBar.setVisibility(View.GONE); mQuotedText.setVisibility(View.GONE); + mDraft.mIntroText = null; + mDraft.mTextReply = null; + mDraft.mHtmlReply = null; setDraftNeedsSaving(true); break; }