From fbf13efe747adecbd6fe22bb3a5be7483241128d Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 18 Apr 2020 14:51:20 -0400 Subject: [PATCH] Bump minimum extension lib and WebView versions --- .../java/eu/kanade/tachiyomi/extension/util/ExtensionLoader.kt | 2 +- .../main/java/eu/kanade/tachiyomi/util/system/WebviewUtil.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/extension/util/ExtensionLoader.kt b/app/src/main/java/eu/kanade/tachiyomi/extension/util/ExtensionLoader.kt index 2a7d53006c..6987624902 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/extension/util/ExtensionLoader.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/extension/util/ExtensionLoader.kt @@ -26,7 +26,7 @@ internal object ExtensionLoader { private const val EXTENSION_FEATURE = "tachiyomi.extension" private const val METADATA_SOURCE_CLASS = "tachiyomi.extension.class" - const val LIB_VERSION_MIN = 1.0 + const val LIB_VERSION_MIN = 1.2 const val LIB_VERSION_MAX = 1.2 private const val PACKAGE_FLAGS = PackageManager.GET_CONFIGURATIONS or PackageManager.GET_SIGNATURES diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/system/WebviewUtil.kt b/app/src/main/java/eu/kanade/tachiyomi/util/system/WebviewUtil.kt index 83e864a05a..345e6982ea 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/system/WebviewUtil.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/system/WebviewUtil.kt @@ -6,7 +6,7 @@ private val WEBVIEW_UA_VERSION_REGEX by lazy { Regex(""".*Chrome/(\d+)\..*""") } -private const val MINIMUM_WEBVIEW_VERSION = 70 +private const val MINIMUM_WEBVIEW_VERSION = 79 fun WebView.isOutdated(): Boolean { return getWebviewMajorVersion(this) < MINIMUM_WEBVIEW_VERSION