diff options
author | Zhomart Mukhamejanov <zhomart@google.com> | 2018-08-21 21:19:02 +0200 |
---|---|---|
committer | Zhomart Mukhamejanov <zhomart@google.com> | 2018-08-22 20:37:51 +0200 |
commit | 88712f7610c1c51ee9a58e17ad9f3e1b8425eba9 (patch) | |
tree | fb12b4509b8a8d7a07478433e33241de5c12fdea /updater_sample/src/com/example/android/systemupdatersample/util | |
parent | Merge "recovery: Add "boot-fastboot" command to BCB." (diff) | |
download | android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.tar android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.tar.gz android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.tar.bz2 android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.tar.lz android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.tar.xz android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.tar.zst android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.zip |
Diffstat (limited to 'updater_sample/src/com/example/android/systemupdatersample/util')
-rw-r--r-- | updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java b/updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java index 5080cb6d8..bbefcaf16 100644 --- a/updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java +++ b/updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java @@ -83,7 +83,7 @@ public final class UpdateConfigs { /** * @param filename searches by given filename - * @param config searches in {@link UpdateConfig#getStreamingMetadata()} + * @param config searches in {@link UpdateConfig#getAbConfig()} * @return offset and size of {@code filename} in the package zip file * stored as {@link UpdateConfig.PackageFile}. */ @@ -91,7 +91,7 @@ public final class UpdateConfigs { final String filename, UpdateConfig config) { return Arrays - .stream(config.getStreamingMetadata().getPropertyFiles()) + .stream(config.getAbConfig().getPropertyFiles()) .filter(file -> filename.equals(file.getFilename())) .findFirst(); } |