commit | c8a7ae45dc077325d9669749332792dcf6608fe7 | [log] [tgz] |
---|---|---|
author | Max Bires <jbires@google.com> | Wed Dec 15 16:37:29 2021 -0800 |
committer | Max Bires <jbires@google.com> | Tue Dec 21 14:04:42 2021 -0800 |
tree | c0b0ab05c3cc5daad51801a1e0206e424acf71fd | |
parent | 533761a3c729a0e657f56a1527a6ad1e272b2341 [diff] |
Replacing JobScheduler with WorkManager JobScheduler appears to evict jobs after the owning app process is killed by the resource management subsystems. WorkManager makes an explicit guarantee to continue queuing recurring jobs even after the enqueuing process has been killed, while still providing the same constraint management from JobScheduler. Test: Check that the job is still enqueued after the app is killed Change-Id: If87f3b5438697b5a5eaa52cda71d6960176a9e91