fix: use START_NOT_STICKY for DownloadService to prevent auto-restart

Prevents Android from automatically recreating the download service
after it is killed, avoiding duplicate or orphaned download processes.
This commit is contained in:
zarzet
2026-03-29 01:37:24 +07:00
parent c0637006af
commit fbb8d30db0
@@ -104,7 +104,7 @@ class DownloadService : Service() {
updateNotification(progress, total)
}
}
return START_STICKY
return START_NOT_STICKY
}
override fun onBind(intent: Intent?): IBinder? = null