libsnapshot: set header max_compression
Intermediate CL needed before variable block size can land. Since v3 is enabled on cuttlefish, the base build needs to write the compression_factor in order for reader to properly parse. Otherwise we'll fail OTA test Test: th Change-Id: Ia353aae8e668858851073f09308909ae70d7854e
This commit is contained in:
parent
700ff706f1
commit
bcce91603b
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ void CowWriterV3::SetupHeaders() {
|
|||
header_.op_count = 0;
|
||||
header_.op_count_max = 0;
|
||||
header_.compression_algorithm = kCowCompressNone;
|
||||
header_.max_compression_size = options_.compression_factor;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue