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

Avoid NPE reported via Play Store

This commit is contained in:
cketti 2013-03-05 03:31:18 +01:00
parent 5270ebd629
commit e77c341542

View File

@ -185,6 +185,11 @@ public class SingleMessageView extends LinearLayout implements OnClickListener,
WebView webview = (WebView) v;
WebView.HitTestResult result = webview.getHitTestResult();
if (result == null) {
return;
}
int type = result.getType();
Context context = getContext();