summaryrefslogtreecommitdiffstats
path: root/updater_sample/res/raw/sample.json
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-05-11 11:37:52 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-05-11 11:37:52 +0200
commitb9ceda99708f45546b1420c7f6c0904347f99d3a (patch)
tree63b99dde1a6754de45933cf7ae84fb9e27302247 /updater_sample/res/raw/sample.json
parentSnap for 4767896 from 55bdab5e8ddb8ca919099eeaf8800148e38e5a50 to qt-release (diff)
parentMerge "updater_sample: add HAL compatibility check" am: 563d34f712 am: 0045e76c7c (diff)
downloadandroid_bootable_recovery-b9ceda99708f45546b1420c7f6c0904347f99d3a.tar
android_bootable_recovery-b9ceda99708f45546b1420c7f6c0904347f99d3a.tar.gz
android_bootable_recovery-b9ceda99708f45546b1420c7f6c0904347f99d3a.tar.bz2
android_bootable_recovery-b9ceda99708f45546b1420c7f6c0904347f99d3a.tar.lz
android_bootable_recovery-b9ceda99708f45546b1420c7f6c0904347f99d3a.tar.xz
android_bootable_recovery-b9ceda99708f45546b1420c7f6c0904347f99d3a.tar.zst
android_bootable_recovery-b9ceda99708f45546b1420c7f6c0904347f99d3a.zip
Diffstat (limited to 'updater_sample/res/raw/sample.json')
-rw-r--r--updater_sample/res/raw/sample.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/updater_sample/res/raw/sample.json b/updater_sample/res/raw/sample.json
index b6f4cdce6..46fbfa33e 100644
--- a/updater_sample/res/raw/sample.json
+++ b/updater_sample/res/raw/sample.json
@@ -1,13 +1,14 @@
{
"__name": "name will be visible on UI",
"__url": "https:// or file:// uri to update package (zip, xz, ...)",
- "__type": "NON_STREAMING (from a local file) OR STREAMING (on the fly)",
+ "__ab_install_type": "NON_STREAMING (from a local file) OR STREAMING (on the fly)",
"name": "SAMPLE-cake-release BUILD-12345",
"url": "http://foo.bar/builds/ota-001.zip",
"ab_install_type": "NON_STREAMING",
"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"
}
}