Removed WebView version check

This commit is contained in:
M66B 2023-03-10 19:09:37 +01:00
parent 5f1356038e
commit aab365a516
1 changed files with 2 additions and 3 deletions

View File

@ -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");
}