mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 21:22:26 -05:00
Fix market-reported NullPointerException
Fixes issue 1660
This commit is contained in:
parent
1eb37c2031
commit
8bc42639c4
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user