Skip to content

Commit

Permalink
Merge pull request #883 from Droid-ify/sdk-35
Browse files Browse the repository at this point in the history
Upgrade SDK to 35
  • Loading branch information
Iamlooker authored Dec 21, 2024
2 parents b5e7ed3 + c7849df commit e4a6f1d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions build-logic/structure/src/main/kotlin/DefaultConfig.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4a6f1d

Please sign in to comment.