summaryrefslogtreecommitdiffstats
path: root/updater/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-09-24 01:07:40 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-09-24 01:07:40 +0200
commit86b54dc49327d2b8a3d3ef2d7c1939dbf08c2796 (patch)
treeb7ab0af76118d4227d58c098c5db7991ece384b9 /updater/install.cpp
parentMerge "applypatch: Use static libs for libbrotli and libbz." (diff)
parentapplypatch: Add backup_source parameter to PatchPartition. (diff)
downloadandroid_bootable_recovery-86b54dc49327d2b8a3d3ef2d7c1939dbf08c2796.tar
android_bootable_recovery-86b54dc49327d2b8a3d3ef2d7c1939dbf08c2796.tar.gz
android_bootable_recovery-86b54dc49327d2b8a3d3ef2d7c1939dbf08c2796.tar.bz2
android_bootable_recovery-86b54dc49327d2b8a3d3ef2d7c1939dbf08c2796.tar.lz
android_bootable_recovery-86b54dc49327d2b8a3d3ef2d7c1939dbf08c2796.tar.xz
android_bootable_recovery-86b54dc49327d2b8a3d3ef2d7c1939dbf08c2796.tar.zst
android_bootable_recovery-86b54dc49327d2b8a3d3ef2d7c1939dbf08c2796.zip
Diffstat (limited to 'updater/install.cpp')
-rw-r--r--updater/install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index be0ceb06c..b617f62c1 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -271,7 +271,7 @@ Value* PatchPartitionFn(const char* name, State* state,
return StringValue("");
}
- bool result = PatchPartition(target, source, *values[0], nullptr);
+ bool result = PatchPartition(target, source, *values[0], nullptr, true);
return StringValue(result ? "t" : "");
}