mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-28 09:15:12 +03:00
notification got flammenwerfert
aniyomi is running notification... Hans get ze Flammenwerfer
This commit is contained in:
parent
23464f211c
commit
788bf7fd23
1 changed files with 3 additions and 1 deletions
|
@ -89,7 +89,9 @@ class AnimeDownloadService : Service() {
|
|||
|
||||
override fun onCreate() {
|
||||
scope = CoroutineScope(SupervisorJob() + Dispatchers.IO)
|
||||
startForeground(Notifications.ID_DOWNLOAD_EPISODE_PROGRESS, getPlaceholderNotification())
|
||||
downloadManager.queue.state.value.forEach {
|
||||
startForeground(it.episode.id.hashCode(), getPlaceholderNotification())
|
||||
}
|
||||
wakeLock = acquireWakeLock(javaClass.name)
|
||||
_isRunning.value = true
|
||||
listenNetworkChanges()
|
||||
|
|
Loading…
Reference in a new issue