Re-land "Enable apex compression on all devices with updatable apex

This reverts commit f8283a8bf6.

Test: device boots
Test: OTA from uncompressed apexes to compressed apexes works
Bug: 169780183
Bug: 184746992
Bug: 185082717
Change-Id: I62e379f44a1dcf8ebd2b3448dc1381cd99427b45
This commit is contained in:
Lucas Wei 2021-04-12 03:55:46 +00:00 committed by Nikita Ioffe
parent f8283a8bf6
commit 3df934b8a8

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