tachiyomi/app
Ivan Iskandar 24e1b4034e
Move workers to foreground service context a bit more safely (#10202)
The system will crash the app if the worker that calls setForeground() finished
before the service runner be able to call Service.startForeground(). This edge
case is not handled by WorkManager and there is no way to check if the required
calls are done.

So here we suspend the worker by an arbitrary duration assuming the transition
to foreground service is done by then.
2023-12-02 11:46:59 -05:00
..
src Move workers to foreground service context a bit more safely (#10202) 2023-12-02 11:46:59 -05:00
.gitignore Minor cleanup 2023-10-14 22:46:51 -04:00
build.gradle.kts Migrate downloader service to WorkManager (#10190) 2023-11-29 16:34:07 -05:00
proguard-android-optimize.txt Remove unused rxandroid dependency 2023-08-26 10:30:26 -04:00
proguard-rules.pro Remove unused rxandroid dependency 2023-08-26 10:30:26 -04:00
shortcuts.xml Minor cleanup 2023-10-14 22:46:51 -04:00