update_engine: use compression_factor
Use compression factor in update_engine. This change allows
update_enginge to read from dynamic_partitions_info.txt the build prop
that customizes the compression factor.
Test: th
Change-Id: I834917ddc44003b22623605f3c80d448a16b7ef3
diff --git a/update_metadata.proto b/update_metadata.proto
index 535f386..6d16da4 100644
--- a/update_metadata.proto
+++ b/update_metadata.proto
@@ -372,6 +372,10 @@
// A collection of knobs to tune Virtual AB Compression
optional VABCFeatureSet vabc_feature_set = 6;
+
+ // Max bytes to be compressed at once during ota. Options: 4k, 8k, 16k, 32k,
+ // 64k, 128k
+ optional uint64 compression_factor = 7;
}
// Definition has been duplicated from