Merge "Make bsdiff available in recovery"

This commit is contained in:
Treehugger Robot authored and Gerrit Code Review committed 2021-12-22 19:36:48 +00:00
commit eeb219b8d2
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -73,6 +73,7 @@ cc_library_static {
cc_library_static {
name: "libbsdiff",
recovery_available: true,
defaults: ["bsdiff_defaults"],
srcs: [
+1 -1
View File
@@ -32,7 +32,7 @@ bool BsdiffPatchReader::Init(const uint8_t* patch_data, size_t patch_size) {
// extra block; seek forwards in oldfile by z bytes".
if (patch_size < 32) {
LOG(ERROR) << "Too small to be a bspatch.";
LOG(ERROR) << "Too small to be a bspatch. " << patch_size;
return false;
}
// Check for appropriate magic.