Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

fix: App Lounge doesn't respect the weekly update checks option

Description

The weekly update checks option was not respected because the UpdatesWorkManager was enqueued with ExistingPeriodicWorkPolicy.REPLACE in onReceive(). REPLACE is deprecated now. By using UPDATE, it does not reset the current job, until it is complete, and is updated in the next configuration.

App startup: KEEP Receiver: UPDATE User change: Cancel and re-enqueue

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/3673

10 commandments of code review

👪 ❤️ https://gitlab.e.foundation/groups/e/-/wikis/contribute/development-processes/code-review-guidelines

Edited by Saalim Quadri

Merge request reports

Loading