Many small changes
- Remove unused gridlayout dependency - Add RECIEVE_BOOT permission for EH updater - Some suspending db IO calls
This commit is contained in:
@@ -200,7 +200,7 @@ object DebugFunctions {
|
||||
EHentaiUpdateWorker.scheduleBackground(app)
|
||||
}
|
||||
|
||||
fun listScheduledJobs() = app.jobScheduler.allPendingJobs.map { j ->
|
||||
fun listScheduledJobs() = app.jobScheduler.allPendingJobs.joinToString(",\n") { j ->
|
||||
"""
|
||||
{
|
||||
info: ${j.id},
|
||||
@@ -209,7 +209,7 @@ object DebugFunctions {
|
||||
intervalMillis: ${j.intervalMillis},
|
||||
}
|
||||
""".trimIndent()
|
||||
}.joinToString(",\n")
|
||||
}
|
||||
|
||||
fun cancelAllScheduledJobs() = app.jobScheduler.cancelAll()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user