Updater: Improvements
Description
Updater app wasn't checking for updates after internet is lost for quite for sometime. Also it was difficult to test updater interval because minimum update interval was once a day.
Screenshots
![](/-/project/144/uploads/4a635eab48eb3547d848f380ba6e401f/Screenshot_20221109-131956_Updater.png)
Technical details
- Reverted some changes that caused repeating alarm to not invoke
- Added connection state monitor to check for updates once the internet is back.
- Added additional interval 5/10/30 minutes, only visible if developer options is toggled.
- Change one-shot check to 15 minutes from 2 hours wait.
Tests
Make a build with FEATURE_BRANCH set for any device:
-
FEATURE_BRANCH
:780-s-updater_fixes
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/780
10 commandments of code reviews
Edited by Mohammed Althaf Thayyil