Revert "Handle resume of VABC updates by emitting labels"
This reverts commit 24599af599acf74b71a555a8eeb827bedcd672b5.
Reason for revert: b/173009837
Test: 1. update_device.py ota.zip
--extra-headers="SWITCH_SLOT_ON_REBOOT=0"
2. update_device.py ota.zip
3. Verity that 2 did not re-start the entire update, only fs
verification and postinstall may re-run.
Bug: 173009837
Change-Id: Ia31025ebc68a5e6a72d7a0919994d614213270d1
diff --git a/payload_consumer/partition_writer.cc b/payload_consumer/partition_writer.cc
index 12b206e..ec36d06 100644
--- a/payload_consumer/partition_writer.cc
+++ b/payload_consumer/partition_writer.cc
@@ -242,14 +242,12 @@
const InstallPlan::Partition& install_part,
DynamicPartitionControlInterface* dynamic_control,
size_t block_size,
- PrefsInterface* prefs,
bool is_interactive)
: partition_update_(partition_update),
install_part_(install_part),
dynamic_control_(dynamic_control),
interactive_(is_interactive),
- block_size_(block_size),
- prefs_(prefs) {}
+ block_size_(block_size) {}
PartitionWriter::~PartitionWriter() {
Close();