Fix market-reported NullPointerException
Fixes issue 1660
This commit is contained in:
parent
1eb37c2031
commit
8bc42639c4
1 changed files with 2 additions and 1 deletions
|
@ -1943,7 +1943,8 @@ public class MessageView extends K9Activity implements OnClickListener
|
|||
{
|
||||
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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue