mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 09:08:49 -05:00
Avoid NPE reported via Play Store
This commit is contained in:
parent
5270ebd629
commit
e77c341542
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user