summaryrefslogtreecommitdiffstats
path: root/updater_sample/src/com/example/android/systemupdatersample/UpdateManager.java
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-08-22 20:38:06 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-08-22 20:38:06 +0200
commitab7e652484bd0b72f9dd78ad37ca2ae64422de56 (patch)
treefb12b4509b8a8d7a07478433e33241de5c12fdea /updater_sample/src/com/example/android/systemupdatersample/UpdateManager.java
parentMerge "recovery: Add "boot-fastboot" command to BCB." (diff)
parentMove ab_streaming_metadata under ab_config. (diff)
downloadandroid_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.tar
android_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.tar.gz
android_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.tar.bz2
android_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.tar.lz
android_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.tar.xz
android_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.tar.zst
android_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.zip
Diffstat (limited to '')
-rw-r--r--updater_sample/src/com/example/android/systemupdatersample/UpdateManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater_sample/src/com/example/android/systemupdatersample/UpdateManager.java b/updater_sample/src/com/example/android/systemupdatersample/UpdateManager.java
index a9783e70a..12a8f3f5f 100644
--- a/updater_sample/src/com/example/android/systemupdatersample/UpdateManager.java
+++ b/updater_sample/src/com/example/android/systemupdatersample/UpdateManager.java
@@ -324,7 +324,7 @@ public class UpdateManager {
if (code == PrepareStreamingService.RESULT_CODE_SUCCESS) {
builder.setPayload(payloadSpec);
builder.addExtraProperty("USER_AGENT=" + HTTP_USER_AGENT);
- config.getStreamingMetadata()
+ config.getAbConfig()
.getAuthorization()
.ifPresent(s -> builder.addExtraProperty("AUTHORIZATION=" + s));
updateEngineApplyPayload(builder.build());