summaryrefslogtreecommitdiffstats
path: root/updater_sample/src/com/example/android/systemupdatersample/services/PrepareStreamingService.java
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-08-23 05:06:08 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-08-23 05:06:08 +0200
commit97eb6b8760b90d3484b96359db018a5f016e5465 (patch)
treefb12b4509b8a8d7a07478433e33241de5c12fdea /updater_sample/src/com/example/android/systemupdatersample/services/PrepareStreamingService.java
parentSnap for 4966162 from d8e8c7b6fa342de4692b00b7f60e05f409c4f211 to qt-release (diff)
parentMerge "Move ab_streaming_metadata under ab_config." am: ab7e652484 am: e30a243d0a (diff)
downloadandroid_bootable_recovery-97eb6b8760b90d3484b96359db018a5f016e5465.tar
android_bootable_recovery-97eb6b8760b90d3484b96359db018a5f016e5465.tar.gz
android_bootable_recovery-97eb6b8760b90d3484b96359db018a5f016e5465.tar.bz2
android_bootable_recovery-97eb6b8760b90d3484b96359db018a5f016e5465.tar.lz
android_bootable_recovery-97eb6b8760b90d3484b96359db018a5f016e5465.tar.xz
android_bootable_recovery-97eb6b8760b90d3484b96359db018a5f016e5465.tar.zst
android_bootable_recovery-97eb6b8760b90d3484b96359db018a5f016e5465.zip
Diffstat (limited to 'updater_sample/src/com/example/android/systemupdatersample/services/PrepareStreamingService.java')
-rw-r--r--updater_sample/src/com/example/android/systemupdatersample/services/PrepareStreamingService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/updater_sample/src/com/example/android/systemupdatersample/services/PrepareStreamingService.java b/updater_sample/src/com/example/android/systemupdatersample/services/PrepareStreamingService.java
index ac6e223e3..931404857 100644
--- a/updater_sample/src/com/example/android/systemupdatersample/services/PrepareStreamingService.java
+++ b/updater_sample/src/com/example/android/systemupdatersample/services/PrepareStreamingService.java
@@ -173,7 +173,7 @@ public class PrepareStreamingService extends IntentService {
}
/**
- * Downloads files defined in {@link UpdateConfig#getStreamingMetadata()}
+ * Downloads files defined in {@link UpdateConfig#getAbConfig()}
* and exists in {@code PRE_STREAMING_FILES_SET}, and put them
* in directory {@code dir}.
* @throws IOException when can't download a file
@@ -185,7 +185,7 @@ public class PrepareStreamingService extends IntentService {
Files.deleteIfExists(Paths.get(OTA_PACKAGE_DIR, file));
}
Log.d(TAG, "Downloading files to " + dir);
- for (UpdateConfig.PackageFile file : config.getStreamingMetadata().getPropertyFiles()) {
+ for (UpdateConfig.PackageFile file : config.getAbConfig().getPropertyFiles()) {
if (PRE_STREAMING_FILES_SET.contains(file.getFilename())) {
Log.d(TAG, "Downloading file " + file.getFilename());
FileDownloader downloader = new FileDownloader(