update_engine: remove temporary estimation
Remove temporary estimation solution. With the updated estimation logic,
we should be able to accurately estimate the cow size
Bug: 322279333
Test: th
Change-Id: I5c7da1fc1b8b47c940413ff9df1bc17f75c15cd4
diff --git a/payload_generator/cow_size_estimator.cc b/payload_generator/cow_size_estimator.cc
index eb84d45..4be7ea2 100644
--- a/payload_generator/cow_size_estimator.cc
+++ b/payload_generator/cow_size_estimator.cc
@@ -203,9 +203,6 @@
.compression = std::move(compression),
.max_blocks = (partition_size / block_size),
.compression_factor = compression_factor};
- // b/322279333 use 4096 as estimation until we have an updated estimation
- // algorithm
- options.compression_factor = block_size;
auto cow_writer = CreateCowEstimator(cow_version, options);
CHECK_NE(cow_writer, nullptr) << "Could not create cow estimator";
CHECK(CowDryRun(source_fd,