summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-06-08 04:34:34 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-06-08 04:34:34 +0200
commit4b5dc30a92ce528b65b99da6aad0bfb45ebafa8a (patch)
tree8224a5d489c8dc889e4e648cacbac206d6933790
parentMerge "updater_sample: fix payload spec tests" am: 684d7216e6 am: 7c8e5b6ee8 (diff)
parentMerge "updater_sample: update README.md" am: 1cb7222784 (diff)
downloadandroid_bootable_recovery-4b5dc30a92ce528b65b99da6aad0bfb45ebafa8a.tar
android_bootable_recovery-4b5dc30a92ce528b65b99da6aad0bfb45ebafa8a.tar.gz
android_bootable_recovery-4b5dc30a92ce528b65b99da6aad0bfb45ebafa8a.tar.bz2
android_bootable_recovery-4b5dc30a92ce528b65b99da6aad0bfb45ebafa8a.tar.lz
android_bootable_recovery-4b5dc30a92ce528b65b99da6aad0bfb45ebafa8a.tar.xz
android_bootable_recovery-4b5dc30a92ce528b65b99da6aad0bfb45ebafa8a.tar.zst
android_bootable_recovery-4b5dc30a92ce528b65b99da6aad0bfb45ebafa8a.zip
-rw-r--r--updater_sample/README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/updater_sample/README.md b/updater_sample/README.md
index 8ec43d3c6..11b55eb91 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