summaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch_modes.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-09-24 01:40:22 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-09-24 01:40:22 +0200
commit6b60b35b4b7d8a0bb373d2032c3113acbd410e97 (patch)
treeb7ab0af76118d4227d58c098c5db7991ece384b9 /applypatch/applypatch_modes.cpp
parentMerge "applypatch: Use static libs for libbrotli and libbz." am: 4f86af7b9a am: 5108b0b7f4 (diff)
parentMerge "applypatch: Add backup_source parameter to PatchPartition." am: 86b54dc493 (diff)
downloadandroid_bootable_recovery-6b60b35b4b7d8a0bb373d2032c3113acbd410e97.tar
android_bootable_recovery-6b60b35b4b7d8a0bb373d2032c3113acbd410e97.tar.gz
android_bootable_recovery-6b60b35b4b7d8a0bb373d2032c3113acbd410e97.tar.bz2
android_bootable_recovery-6b60b35b4b7d8a0bb373d2032c3113acbd410e97.tar.lz
android_bootable_recovery-6b60b35b4b7d8a0bb373d2032c3113acbd410e97.tar.xz
android_bootable_recovery-6b60b35b4b7d8a0bb373d2032c3113acbd410e97.tar.zst
android_bootable_recovery-6b60b35b4b7d8a0bb373d2032c3113acbd410e97.zip
Diffstat (limited to 'applypatch/applypatch_modes.cpp')
-rw-r--r--applypatch/applypatch_modes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/applypatch/applypatch_modes.cpp b/applypatch/applypatch_modes.cpp
index b46659808..bb5eeae9d 100644
--- a/applypatch/applypatch_modes.cpp
+++ b/applypatch/applypatch_modes.cpp
@@ -87,7 +87,7 @@ static int PatchMode(const std::string& target_emmc, const std::string& source_e
bonus = std::make_unique<Value>(Value::Type::BLOB, std::move(bonus_contents));
}
- return PatchPartition(target, source, patch, bonus.get()) ? 0 : 1;
+ return PatchPartition(target, source, patch, bonus.get(), false) ? 0 : 1;
}
static void Usage() {