2 Commits 3d6f6331c7 ... f59b56549b

Author SHA1 Message Date
  Tobi823 f59b56549b - Kiwi is now EOL Tobi823/ffupdater#621 1 month ago
  Tobi823 7bbe1da9ac - add reminder to improve error handling Tobi823/ffupdater#626 1 month ago

+ 3 - 2
ffupdater/src/main/java/de/marmaro/krt/ffupdater/app/impl/Kiwi.kt

@@ -6,7 +6,7 @@ import androidx.annotation.Keep
 import androidx.annotation.MainThread
 import de.marmaro.krt.ffupdater.R
 import de.marmaro.krt.ffupdater.app.App
-import de.marmaro.krt.ffupdater.app.entity.DisplayCategory.BETTER_THAN_GOOGLE_CHROME
+import de.marmaro.krt.ffupdater.app.entity.DisplayCategory.EOL
 import de.marmaro.krt.ffupdater.app.entity.LatestVersion
 import de.marmaro.krt.ffupdater.app.entity.Version
 import de.marmaro.krt.ffupdater.device.ABI
@@ -21,6 +21,7 @@ import de.marmaro.krt.ffupdater.settings.DeviceSettingsHelper
  * https://www.apkmirror.com/apk/geometry-ou/kiwi-browser-fast-quiet/
  */
 @Keep
+@Deprecated("long time no update")
 object Kiwi : AppBase() {
     override val app = App.KIWI
     override val packageName = "com.kiwibrowser.browser"
@@ -33,7 +34,7 @@ object Kiwi : AppBase() {
     override val supportedAbis = ARM32_ARM64_X86_X64
     override val signatureHash = "829b930e919cd56c9a67617c312e3b425a38894b929e735c3d391d9c51b9e4c0"
     override val projectPage = "https://github.com/kiwibrowser/src.next"
-    override val displayCategory = listOf(BETTER_THAN_GOOGLE_CHROME)
+    override val displayCategory = listOf(EOL)
     override val hostnameForInternetCheck = "https://api.github.com"
 
     @MainThread

+ 1 - 0
ffupdater/src/main/java/de/marmaro/krt/ffupdater/app/impl/base/InstalledAppStatusFetcher.kt

@@ -56,6 +56,7 @@ interface InstalledAppStatusFetcher : InstalledVersionFetcher, LatestVersionFetc
         } catch (e: DisplayableException) {
             throw DisplayableException("Unable to fetch the latest update for ${app.name}.", e)
         } catch (e: RuntimeException) {
+            // TODO dont catch JobCancellationException!
             throw UnrecovableAppFetchException("Unable to fetch the latest update for ${app.name}.", e)
         }
     }