This commit is contained in:
machiav3lli
2022-04-11 01:31:45 +02:00
parent 0bf3dad2f2
commit e854b57b08
14 changed files with 37 additions and 47 deletions

View File

@ -37,6 +37,7 @@ import java.io.File
import java.security.MessageDigest
import kotlin.math.roundToInt
// TODO maybe replace by using WorkManager instead?
class DownloadService : ConnectionService<DownloadService.Binder>() {
companion object {
private const val ACTION_CANCEL = "${BuildConfig.APPLICATION_ID}.intent.action.CANCEL"