mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-19 09:07:06 -04:00
Tweak: Remove blocking images from the microsoft webview
Google, please stop your bullshit.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user