Respect VABC Xor prop in ota_from_target_files
Test: generate ota on a non-vabc xor target, make sure it's not used Change-Id: Ibdbcfe3775c96848c37c7f580121583d4bd57fce
This commit is contained in:
@@ -1091,6 +1091,9 @@ def GenerateAbOtaPackage(target_file, output_file, source_file=None):
|
||||
if target_info.vendor_suppressed_vabc:
|
||||
logger.info("Vendor suppressed VABC. Disabling")
|
||||
OPTIONS.disable_vabc = True
|
||||
if not target_info.is_vabc_xor or OPTIONS.disable_vabc:
|
||||
logger.info("VABC XOR Not supported, disabling")
|
||||
OPTIONS.enable_vabc_xor = False
|
||||
additional_args = []
|
||||
|
||||
# Prepare custom images.
|
||||
|
Reference in New Issue
Block a user