1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00

Fix market-reported NullPointerException

Fixes issue 1660
This commit is contained in:
cketti 2010-07-08 01:09:43 +00:00
parent 1eb37c2031
commit 8bc42639c4

View File

@ -1943,7 +1943,8 @@ public class MessageView extends K9Activity implements OnClickListener
{ {
mHandler.networkError(); mHandler.networkError();
} }
if (!MessageView.this.mMessage.isSet(Flag.X_DOWNLOADED_PARTIAL)) if ((MessageView.this.mMessage == null) ||
!MessageView.this.mMessage.isSet(Flag.X_DOWNLOADED_PARTIAL))
{ {
mMessageContentView.loadUrl("file:///android_asset/empty.html"); mMessageContentView.loadUrl("file:///android_asset/empty.html");
} }