am 2b6dfc97: Merge change I55f52567 into eclair-mr2

Merge commit '2b6dfc9796b6c54b329e234244e076a8dc6d3a07' into eclair-mr2-plus-aosp

* commit '2b6dfc9796b6c54b329e234244e076a8dc6d3a07':
  MessageCompose: fix NPE cased by WebView set to null in onDestroy().
This commit is contained in:
Mihai Preda 2009-12-22 05:22:13 -08:00 committed by Android Git Automerger
commit 9d024a5b4f

View File

@ -1274,9 +1274,10 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
// EmailHtmlUtil.resolveInlineImage(getContentResolver(), mAccount, // EmailHtmlUtil.resolveInlineImage(getContentResolver(), mAccount,
// text, message, 0); // text, message, 0);
mQuotedTextBar.setVisibility(View.VISIBLE); mQuotedTextBar.setVisibility(View.VISIBLE);
mQuotedText.setVisibility(View.VISIBLE); if (mQuotedText != null) {
mQuotedText.loadDataWithBaseURL("email://", text, "text/html", mQuotedText.setVisibility(View.VISIBLE);
"utf-8", null); mQuotedText.loadDataWithBaseURL("email://", text, "text/html", "utf-8", null);
}
} }
} }