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();