commit
e4a6f1db5c
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user