Disable Safe browsing by default

This commit is contained in:
M66B
2020-03-25 21:56:49 +01:00
parent 73e8335f9e
commit c98418ad56
4 changed files with 3 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean safe_browsing = prefs.getBoolean("safe_browsing", true);
boolean safe_browsing = prefs.getBoolean("safe_browsing", false);
settings.setSafeBrowsingEnabled(safe_browsing);
}
}