diff options
author | Zhomart Mukhamejanov <zhomart@google.com> | 2018-06-07 12:04:35 -0700 |
---|---|---|
committer | Zhomart Mukhamejanov <zhomart@google.com> | 2018-06-07 22:49:22 +0000 |
commit | ec33e4504cee1a87beea0d8a838afb0c5dc0daab (patch) | |
tree | 8e6f9b54b81de779c08404a20cab834962ace412 /updater_sample | |
parent | 684d7216e67057519e694b1a99d2761a7b9432fe (diff) |
updater_sample: update README.md
Test: n/a
Change-Id: I0b488ca9fe628c3614c203ab9264175f291f49db
Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com>
Diffstat (limited to 'updater_sample')
-rw-r--r-- | updater_sample/README.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/updater_sample/README.md b/updater_sample/README.md index 8ec43d3c..11b55eb9 100644 --- a/updater_sample/README.md +++ b/updater_sample/README.md @@ -140,6 +140,9 @@ Start an update attempt to download an apply the provided `payload_url` if no other update is running. The extra `key_value_pair_headers` will be included when fetching the payload. +`key_value_pair_headers` argument also accepts properties other than HTTP Headers. +List of allowed properties can be found in `system/update_engine/common/constants.cc`. + ### UpdateEngine#cancel Cancel the ongoing update. The update could be running or suspended, but it @@ -181,9 +184,8 @@ Called whenever an update attempt is completed. - [x] Deferred switch slot demo - [x] Add UpdateManager; extract update logic from MainActivity - [x] Add Sample app update state (separate from update_engine status) -- [-] Add smart update completion detection using onStatusUpdate -- [ ] Add pause/resume demo -- [ ] Add demo for passing NETWORK_ID to `UpdateEngine#applyPayload` +- [x] Add smart update completion detection using onStatusUpdate +- [x] Add pause/resume demo - [ ] Verify system partition checksum for package - [?] Add non-A/B updates demo |