summaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch.cpp
diff options
context:
space:
mode:
authorBill Peckham <bpeckham@google.com>2019-10-05 05:30:56 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-10-05 05:30:56 +0200
commitc1eef556dc072c8389705382f2b4f0fccd07f7e4 (patch)
tree9087ea25901efd23478bda2349f41c42f3987c38 /applypatch/applypatch.cpp
parentMerge "recovery_utils: Use libvoid_headers." am: 4782e79324 (diff)
parentMerge "Moving recovery resources from /system to /vendor" (diff)
downloadandroid_bootable_recovery-c1eef556dc072c8389705382f2b4f0fccd07f7e4.tar
android_bootable_recovery-c1eef556dc072c8389705382f2b4f0fccd07f7e4.tar.gz
android_bootable_recovery-c1eef556dc072c8389705382f2b4f0fccd07f7e4.tar.bz2
android_bootable_recovery-c1eef556dc072c8389705382f2b4f0fccd07f7e4.tar.lz
android_bootable_recovery-c1eef556dc072c8389705382f2b4f0fccd07f7e4.tar.xz
android_bootable_recovery-c1eef556dc072c8389705382f2b4f0fccd07f7e4.tar.zst
android_bootable_recovery-c1eef556dc072c8389705382f2b4f0fccd07f7e4.zip
Diffstat (limited to 'applypatch/applypatch.cpp')
-rw-r--r--applypatch/applypatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/applypatch/applypatch.cpp b/applypatch/applypatch.cpp
index 336860cb9..adda6976d 100644
--- a/applypatch/applypatch.cpp
+++ b/applypatch/applypatch.cpp
@@ -279,7 +279,7 @@ bool PatchPartition(const Partition& target, const Partition& source, const Valu
}
FileContents source_file;
- if (ReadPartitionToBuffer(source, &source_file, true)) {
+ if (ReadPartitionToBuffer(source, &source_file, backup_source)) {
return GenerateTarget(target, source_file, patch, bonus, backup_source);
}