feat: disable in-app browser google safe browsing
This commit is contained in:
parent
7cdde85071
commit
f3b2ae5803
@ -308,7 +308,7 @@ public class SharedConfig {
|
||||
public static boolean nextMediaTap = true;
|
||||
public static boolean recordViaSco = false;
|
||||
public static boolean customTabs = true;
|
||||
public static boolean inappBrowser = true;
|
||||
public static boolean inappBrowser = false;
|
||||
public static boolean adaptableColorInBrowser = true;
|
||||
public static boolean directShare = true;
|
||||
public static boolean inappCamera = true;
|
||||
@ -651,7 +651,7 @@ public class SharedConfig {
|
||||
nextMediaTap = preferences.getBoolean("next_media_on_tap", true);
|
||||
recordViaSco = preferences.getBoolean("record_via_sco", false);
|
||||
customTabs = preferences.getBoolean("custom_tabs", true);
|
||||
inappBrowser = preferences.getBoolean("inapp_browser", true);
|
||||
inappBrowser = preferences.getBoolean("inapp_browser", false);
|
||||
adaptableColorInBrowser = preferences.getBoolean("adaptableBrowser", false);
|
||||
directShare = preferences.getBoolean("direct_share", true);
|
||||
shuffleMusic = preferences.getBoolean("shuffleMusic", false);
|
||||
|
@ -362,7 +362,7 @@ public abstract class BotWebViewContainer extends FrameLayout implements Notific
|
||||
settings.setUseWideViewPort(true);
|
||||
settings.setLoadWithOverviewMode(true);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
settings.setSafeBrowsingEnabled(true);
|
||||
settings.setSafeBrowsingEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user