summaryrefslogtreecommitdiffstats
path: root/updater_sample/src/com/example/android/systemupdatersample/UpdaterState.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* updater_sample: improve updater state handlingZhomart Mukhamejanov2018-06-041-6/+9
| | | | | | | | | | | | | | | - 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: add UpdaterStateZhomart Mukhamejanov2018-05-261-0/+103
- Add UpdaterState - atomic class, handles proper state changes. - Remove util.UpdaterStates. Test: compiled and ran on the device Change-Id: I7fa87bbf09f8289632e8de1f26654365f4891700 Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com>