Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | updater_sample: improve updater state handling | Zhomart Mukhamejanov | 2018-06-04 | 1 | -20/+74 |
| | | | | | | | | | | | | | | | - Enable more UpdaterState transitions. - MainActivity: Improve UI states. - UpdateManager: fix status handling errors, add suspend/resume methods. Add "synchronize this" to public control (suspend, cancel, ..) methods. - Add several UpdateManager tests. Test: on device Test: JUnit4 Change-Id: Id7f85dfaa466fa0d6136eee39e9fd7658278c616 Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com> | ||||
* | updater_sample: create UpdateManager | Zhomart Mukhamejanov | 2018-05-24 | 1 | -0/+92 |
- Add UpdateManager - responsible for the update logic. Now ui.MainActivity is responsible for only UI. - Create sample test for UpdateManager - Remove MainActivityTest - now MainActivity is really simple. - Add separate callback for progress update. - MainActivity: UpdateEngine#bind/unbind on pause/resume. Test: manually on the device Test: using JUnit4 Change-Id: I1dba7c4ec74b1afb520be762413cfc261ccfbc08 Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com> |