Add IMGDIFF operation to protobuf.
This operation will use imgdiff in Android to handle diff of gzips.
Test: mma
Bug: 26456666
Change-Id: I4757e2cd8ae1f92ae624bf321240de637dbcd016
diff --git a/update_metadata.proto b/update_metadata.proto
index c856405..222542f 100644
--- a/update_metadata.proto
+++ b/update_metadata.proto
@@ -162,6 +162,9 @@
ZERO = 6; // Write zeros in the destination.
DISCARD = 7; // Discard the destination blocks, reading as undefined.
REPLACE_XZ = 8; // Replace destination extents w/ attached xz data.
+
+ // On minor version 4 or newer, these operations are supported:
+ IMGDIFF = 9; // The data is in imgdiff format.
}
required Type type = 1;
// The offset into the delta file (after the protobuf)