mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Disable Safe browsing by default
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user