Merge change I55f52567 into eclair-mr2
* changes: MessageCompose: fix NPE cased by WebView set to null in onDestroy().
This commit is contained in:
commit
2b6dfc9796
@ -1274,9 +1274,10 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
||||
// EmailHtmlUtil.resolveInlineImage(getContentResolver(), mAccount,
|
||||
// text, message, 0);
|
||||
mQuotedTextBar.setVisibility(View.VISIBLE);
|
||||
mQuotedText.setVisibility(View.VISIBLE);
|
||||
mQuotedText.loadDataWithBaseURL("email://", text, "text/html",
|
||||
"utf-8", null);
|
||||
if (mQuotedText != null) {
|
||||
mQuotedText.setVisibility(View.VISIBLE);
|
||||
mQuotedText.loadDataWithBaseURL("email://", text, "text/html", "utf-8", null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user