Rename update_device.py's --disable-vabc param
update_device.py has a --disable-vabc option, and what it really does is
set virtual ab compression param to none, but still uses snapuserd.
There is also a --disable-vabc option in ota_from_target_files, which
completely disables virtual ab compression and fall back to plain vab.
To keep naming consistent, rename update_device.py's option to
--vabc-none.
Test: th
Change-Id: Ifba27f19ed8132bf1a3023481740461faa50207c
diff --git a/aosp/update_attempter_android.cc b/aosp/update_attempter_android.cc
index f9e0d11..555ed33 100644
--- a/aosp/update_attempter_android.cc
+++ b/aosp/update_attempter_android.cc
@@ -347,8 +347,8 @@
<< headers[kPayloadPropertyNetworkProxy];
fetcher->SetProxies({headers[kPayloadPropertyNetworkProxy]});
}
- if (!headers[kPayloadDisableVABC].empty()) {
- install_plan_.disable_vabc = true;
+ if (!headers[kPayloadVABCNone].empty()) {
+ install_plan_.vabc_none = true;
}
if (!headers[kPayloadEnableThreading].empty()) {
install_plan_.enable_threading = true;