This fixes errors caused by the implementation of task scheduling via WorkManager. The documentation is not terribly clear on this point, but it seems that setExpedited cannot be called on either delayed tasks or periodic tasks.
This PR prevents this happening in either case and adds explanatory comments so that we don't forget.
Fixes #163
This fixes errors caused by the implementation of task scheduling via WorkManager. The documentation is not terribly clear on this point, but it seems that
setExpedited
cannot be called on either delayed tasks or periodic tasks.This PR prevents this happening in either case and adds explanatory comments so that we don't forget.