Merge pull request #883 from Droid-ify/sdk-35

Upgrade SDK to 35
This commit is contained in:
LooKeR 2024-12-21 16:54:07 +05:30 committed by GitHub
commit e4a6f1db5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 4 deletions

View File

@ -188,6 +188,12 @@ class DownloadService : ConnectionService<DownloadService.Binder>() {
}
}
override fun onTimeout(startId: Int) {
super.onTimeout(startId)
onDestroy()
stopSelf()
}
override fun onDestroy() {
super.onDestroy()
cancelTasks(null)

View File

@ -216,6 +216,12 @@ class SyncService : ConnectionService<SyncService.Binder>() {
}
}
override fun onTimeout(startId: Int) {
super.onTimeout(startId)
onDestroy()
stopSelf()
}
override fun onDestroy() {
super.onDestroy()
downloadConnection.unbind(this)

View File

@ -1,8 +1,8 @@
object DefaultConfig {
// Update [release_build.yml] along with this
const val buildTools: String = "34.0.0"
const val buildTools: String = "35.0.0"
const val appId = "com.looker.droidify"
const val compileSdk = 34
const val compileSdk = 35
const val minSdk = 23
// Check for TODOs before update
const val versionCode = 630

View File

@ -16,8 +16,6 @@ import com.looker.sync.fdroid.v2.model.Entry
import com.looker.sync.fdroid.v2.model.IndexV2
import com.looker.sync.fdroid.v2.model.IndexV2Diff
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.async
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.json.Json