summaryrefslogtreecommitdiffstats
path: root/updater_sample/res
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-05-09 23:28:49 +0200
committerZhomart Mukhamejanov <zhomart@google.com>2018-05-10 02:33:52 +0200
commit6aa5fb0bbe8d074208648593d177553e732e6d9d (patch)
tree0ba8a4d125e3343d0278fa5505f3afc74bfc5185 /updater_sample/res
parentMerge "updater_sample: update tools" (diff)
downloadandroid_bootable_recovery-6aa5fb0bbe8d074208648593d177553e732e6d9d.tar
android_bootable_recovery-6aa5fb0bbe8d074208648593d177553e732e6d9d.tar.gz
android_bootable_recovery-6aa5fb0bbe8d074208648593d177553e732e6d9d.tar.bz2
android_bootable_recovery-6aa5fb0bbe8d074208648593d177553e732e6d9d.tar.lz
android_bootable_recovery-6aa5fb0bbe8d074208648593d177553e732e6d9d.tar.xz
android_bootable_recovery-6aa5fb0bbe8d074208648593d177553e732e6d9d.tar.zst
android_bootable_recovery-6aa5fb0bbe8d074208648593d177553e732e6d9d.zip
Diffstat (limited to 'updater_sample/res')
-rw-r--r--updater_sample/res/raw/sample.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/updater_sample/res/raw/sample.json b/updater_sample/res/raw/sample.json
index b6f4cdce6..7ac8ffab7 100644
--- a/updater_sample/res/raw/sample.json
+++ b/updater_sample/res/raw/sample.json
@@ -8,6 +8,7 @@
"ab_streaming_metadata": {
"__": "streaming_metadata is required only for streaming update",
"__property_files": "name, offset and size of files",
+ "__authorization": "it will be sent to OTA package server as value of HTTP header - Authorization",
"property_files": [
{
"__filename": "name of the file in package",
@@ -17,6 +18,7 @@
"offset": 531,
"size": 5012323
}
- ]
+ ],
+ "authorization": "Basic my-secret-token"
}
}