8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f944c9a commit 15ff173Copy full SHA for 15ff173
app/src/main/java/com/duckduckgo/mobile/android/duckduckgo/ui/browser/Browser.java
@@ -171,7 +171,11 @@ private void pauseWebView(WebView webView) {
171
private void destroyWebView(WebView webView) {
172
if (webView == null) return;
173
webView.stopLoading();
174
- webView.destroy();
+ if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
175
+ webView.destroy();
176
+ } else {
177
+ webView = null;
178
+ }
179
}
180
181
@SuppressLint("SetJavaScriptEnabled")
0 commit comments