Added a field to set enable_vabc

Test: tested OTA on cuttlefish
Bug: 274511687
Change-Id: I55bee646f0b075b30a1fd533f8baa44eeaaac8f9
diff --git a/scripts/update_device.py b/scripts/update_device.py
index 2985c38..f94774b 100755
--- a/scripts/update_device.py
+++ b/scripts/update_device.py
@@ -483,6 +483,8 @@
                       help='Wipe userdata after installing OTA')
   parser.add_argument('--vabc-none', action='store_true',
                       help='Set Virtual AB Compression algorithm to none, but still use Android COW format')
+  parser.add_argument('--disable-vabc', action='store_true',
+                      help='Option to enable or disable vabc. If set to false, will fall back on A/B')
   parser.add_argument('--enable-threading', action='store_true',
                       help='Enable multi-threaded compression for VABC')
   parser.add_argument('--batched-writes', action='store_true',
@@ -549,6 +551,8 @@
     args.extra_headers += "\nPOWERWASH=1"
   if args.vabc_none:
     args.extra_headers += "\nVABC_NONE=1"
+  if args.disable_vabc:
+    args.extra_headers += "\nDISABLE_VABC=1"
   if args.enable_threading:
     args.extra_headers += "\nENABLE_THREADING=1"
   if args.batched_writes: