added disable_vabc field to install_plan
Test: tested compilation. Applied OTA to cuttlefish instance with VABC
flag disabled.
Change-Id: I2d5756a58deb3d4bf7e80983294746c91aebeccb
diff --git a/aosp/update_attempter_android.cc b/aosp/update_attempter_android.cc
index d085918..aab6d2d 100644
--- a/aosp/update_attempter_android.cc
+++ b/aosp/update_attempter_android.cc
@@ -346,6 +346,9 @@
<< headers[kPayloadPropertyNetworkProxy];
fetcher->SetProxies({headers[kPayloadPropertyNetworkProxy]});
}
+ if (!headers[kPayloadDisableVABC].empty()) {
+ install_plan_.disable_vabc = true;
+ }
BuildUpdateActions(fetcher);
@@ -430,7 +433,7 @@
if (!boot_control_->GetDynamicPartitionControl()->ResetUpdate(prefs_)) {
LOG(WARNING) << "Failed to reset snapshots. UpdateStatus is IDLE but"
- << "space might not be freed.";
+ << "space might not be freed.";
}
switch (status_) {
case UpdateStatus::IDLE: {