File tree 4 files changed +14
-4
lines changed
app/src/main/kotlin/com/looker/droidify/service
build-logic/structure/src/main/kotlin
sync/fdroid/src/main/kotlin/com/looker/sync/fdroid/v2
4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,12 @@ class DownloadService : ConnectionService<DownloadService.Binder>() {
188
188
}
189
189
}
190
190
191
+ override fun onTimeout (startId : Int ) {
192
+ super .onTimeout(startId)
193
+ onDestroy()
194
+ stopSelf()
195
+ }
196
+
191
197
override fun onDestroy () {
192
198
super .onDestroy()
193
199
cancelTasks(null )
Original file line number Diff line number Diff line change @@ -216,6 +216,12 @@ class SyncService : ConnectionService<SyncService.Binder>() {
216
216
}
217
217
}
218
218
219
+ override fun onTimeout (startId : Int ) {
220
+ super .onTimeout(startId)
221
+ onDestroy()
222
+ stopSelf()
223
+ }
224
+
219
225
override fun onDestroy () {
220
226
super .onDestroy()
221
227
downloadConnection.unbind(this )
Original file line number Diff line number Diff line change 1
1
object DefaultConfig {
2
2
// Update [release_build.yml] along with this
3
- const val buildTools: String = " 34 .0.0"
3
+ const val buildTools: String = " 35 .0.0"
4
4
const val appId = " com.looker.droidify"
5
- const val compileSdk = 34
5
+ const val compileSdk = 35
6
6
const val minSdk = 23
7
7
// Check for TODOs before update
8
8
const val versionCode = 630
Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ import com.looker.sync.fdroid.v2.model.Entry
16
16
import com.looker.sync.fdroid.v2.model.IndexV2
17
17
import com.looker.sync.fdroid.v2.model.IndexV2Diff
18
18
import kotlinx.coroutines.CoroutineDispatcher
19
- import kotlinx.coroutines.async
20
- import kotlinx.coroutines.launch
21
19
import kotlinx.coroutines.withContext
22
20
import kotlinx.serialization.ExperimentalSerializationApi
23
21
import kotlinx.serialization.json.Json
You can’t perform that action at this time.
0 commit comments