From 2b85e3ace5124e5f7412d9628c2446a58c6a9725 Mon Sep 17 00:00:00 2001 From: Mohammad Islam Date: Tue, 18 May 2021 17:45:07 +0000 Subject: [PATCH] Revert "Revert "Re-land "Enable apex compression on all devices with updatable apex"" This reverts commit b695e761f19b02085b0a48abd9fddeff0f3c204c. Reason for revert: b/185708645 has been fixed Bug: 169780183 Bug: 185708645 Change-Id: If0ea1168c710eeb4c90d7a9768a278a07adc48fa Test: Manually updated APEX with same version via OTA/adb-remount and observed it was decompressed. --- target/product/updatable_apex.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/product/updatable_apex.mk b/target/product/updatable_apex.mk index c8dc8b0027..d606e0037d 100644 --- a/target/product/updatable_apex.mk +++ b/target/product/updatable_apex.mk @@ -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