Enable apex compression on all devices with updatable apex

Test: atest ApexTestCases
Test: atest CtsStagedInstallHostTestCases
Test: coral boots
Test: checked OTA works
Change-Id: I12938b93731e0bb82b49d5d1f3815e899dafa0bf
This commit is contained in:
Nikita Ioffe 2021-03-25 20:32:33 +00:00
parent 3140fc9e15
commit eaa853ad3c

View file

@ -22,4 +22,9 @@ ifneq ($(OVERRIDE_TARGET_FLATTEN_APEX),true)
PRODUCT_PACKAGES += com.android.apex.cts.shim.v1_prebuilt
PRODUCT_VENDOR_PROPERTIES := ro.apex.updatable=true
TARGET_FLATTEN_APEX := false
# Use compressed apexes in pre-installed partitions.
# Note: this doesn't mean that all pre-installed apexes will be compressed.
# Whether an apex is compressed or not is controlled at apex Soong module
# via compresible property.
PRODUCT_COMPRESSED_APEX := true
endif