From 4f3a0b352397bc6184962e0664d26731ffdd27f8 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 5 Nov 2023 09:08:17 -0500 Subject: [PATCH] Postpone Android 8 requirement --- .../eu/kanade/tachiyomi/data/updater/AppUpdateChecker.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateChecker.kt b/app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateChecker.kt index 3a6a0c14a4..c505247660 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateChecker.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateChecker.kt @@ -1,7 +1,6 @@ package eu.kanade.tachiyomi.data.updater import android.content.Context -import android.os.Build import eu.kanade.tachiyomi.BuildConfig import eu.kanade.tachiyomi.util.system.isInstalledFromFDroid import tachiyomi.core.util.lang.withIOContext @@ -13,10 +12,10 @@ class AppUpdateChecker { private val getApplicationRelease: GetApplicationRelease by injectLazy() suspend fun checkForUpdate(context: Context, forceCheck: Boolean = false): GetApplicationRelease.Result { - if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) { - return GetApplicationRelease.Result.OsTooOld - } // Disable app update checks for older Android versions that we're going to drop support for + // if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) { + // return GetApplicationRelease.Result.OsTooOld + // } return withIOContext { val result = getApplicationRelease.await(