diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-02-23 22:12:39 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-02-23 22:12:39 +0100 |
commit | cc3446a7f7e5b016573e57d0153fc0efa06059c1 (patch) | |
tree | a7af13fd9d6dea3660c41a312b5208c92acc9ca4 /applypatch/include | |
parent | Merge "Replace vfork() with fork()." (diff) | |
parent | Remove the assumption of target chunk size in imgdiff (diff) | |
download | android_bootable_recovery-cc3446a7f7e5b016573e57d0153fc0efa06059c1.tar android_bootable_recovery-cc3446a7f7e5b016573e57d0153fc0efa06059c1.tar.gz android_bootable_recovery-cc3446a7f7e5b016573e57d0153fc0efa06059c1.tar.bz2 android_bootable_recovery-cc3446a7f7e5b016573e57d0153fc0efa06059c1.tar.lz android_bootable_recovery-cc3446a7f7e5b016573e57d0153fc0efa06059c1.tar.xz android_bootable_recovery-cc3446a7f7e5b016573e57d0153fc0efa06059c1.tar.zst android_bootable_recovery-cc3446a7f7e5b016573e57d0153fc0efa06059c1.zip |
Diffstat (limited to 'applypatch/include')
-rw-r--r-- | applypatch/include/applypatch/imgdiff_image.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/applypatch/include/applypatch/imgdiff_image.h b/applypatch/include/applypatch/imgdiff_image.h index 0f74420f0..084807237 100644 --- a/applypatch/include/applypatch/imgdiff_image.h +++ b/applypatch/include/applypatch/imgdiff_image.h @@ -265,8 +265,9 @@ class ZipModeImage : public Image { std::vector<SortedRangeSet>& split_src_ranges, size_t total_tgt_size); // Construct the dummy split images based on the chunks info and source ranges; and move them into - // the given vectors. - static void AddSplitImageFromChunkList(const ZipModeImage& tgt_image, + // the given vectors. Return true if we add a new split image into |split_tgt_images|, and + // false otherwise. + static bool AddSplitImageFromChunkList(const ZipModeImage& tgt_image, const ZipModeImage& src_image, const SortedRangeSet& split_src_ranges, const std::vector<ImageChunk>& split_tgt_chunks, |