Tweak: Remove blocking images from the microsoft webview

Google, please stop your bullshit.
This commit is contained in:
Mathias-Boulay
2022-11-18 16:18:07 +01:00
parent eb0f834fcc
commit 641eae051b

View File

@@ -29,7 +29,7 @@ public class MicrosoftLoginFragment extends Fragment {
mWebview = (WebView) inflater.inflate(R.layout.fragment_microsoft_login, container, false);
CookieManager.getInstance().removeAllCookie(); // The non deprecated method is not async
WebSettings settings = mWebview.getSettings();
settings.setBlockNetworkImage(true); // Faster loading
settings.setJavaScriptEnabled(true);
mWebview.clearHistory();
mWebview.clearCache(true);