From aab365a516736b2d5c8e990eb14d5863ccc088bb Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 10 Mar 2023 19:09:37 +0100 Subject: [PATCH] Removed WebView version check --- app/src/main/java/eu/faircode/email/Log.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Log.java b/app/src/main/java/eu/faircode/email/Log.java index c8ca3cb813..a80bad1459 100644 --- a/app/src/main/java/eu/faircode/email/Log.java +++ b/app/src/main/java/eu/faircode/email/Log.java @@ -2186,10 +2186,9 @@ public class Log { WebViewEx.isFeatureSupported(context, WebViewFeature.ALGORITHMIC_DARKENING))); try { PackageInfo pkg = WebViewCompat.getCurrentWebViewPackage(context); - sb.append(String.format("WebView %d/%s %s\r\n", + sb.append(String.format("WebView %d/%s\r\n", pkg == null ? -1 : pkg.versionCode, - pkg == null ? null : pkg.versionName, - pkg == null || pkg.versionCode / 100000 < 5304 ? "!!!" : "")); + pkg == null ? null : pkg.versionName)); } catch (Throwable ex) { sb.append(ex).append("\r\n"); }