From 9ca7fe4bb69b426d676df51b63fa395474fb8da7 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Thu, 7 Dec 2017 17:17:44 +0100 Subject: [PATCH] Hgih rendering priority Signed-off-by: Mario Danic --- .../com/nextcloud/talk/controllers/WebViewLoginController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/nextcloud/talk/controllers/WebViewLoginController.java b/app/src/main/java/com/nextcloud/talk/controllers/WebViewLoginController.java index b5ce5af62..2cb46ccb9 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/WebViewLoginController.java +++ b/app/src/main/java/com/nextcloud/talk/controllers/WebViewLoginController.java @@ -31,6 +31,7 @@ import android.view.View; import android.view.ViewGroup; import android.webkit.CookieSyncManager; import android.webkit.SslErrorHandler; +import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; import android.widget.ProgressBar; @@ -136,6 +137,7 @@ public class WebViewLoginController extends BaseController { webView.getSettings().setUserAgentString(ApiHelper.getUserAgent()); webView.getSettings().setSaveFormData(false); webView.getSettings().setSavePassword(false); + webView.getSettings().setRenderPriority(WebSettings.RenderPriority.HIGH); webView.clearCache(true); webView.clearFormData(); webView.clearHistory();