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
Edited by Saalim Quadri