Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b586dba6 authored by Dario Freni's avatar Dario Freni
Browse files

Use APK CtsShim prebuilts for flattened apex.

Fix: 158036322
Test: built flame-userdebug with m OVERRIDE_TARGET_FLATTEN_APEX=true, ran
atest CtsAppSecurityHostTestCases:android.appsecurity.cts.PrivilegedUpdateTests#testDisableUpdatedSystemApp
and verified that the cts shim apex is not installed

Change-Id: Icc52500cfc0a555e11d1a467b2da0649c7f5d31f
Merged-In: Icc52500cfc0a555e11d1a467b2da0649c7f5d31f
(cherry picked from commit c9a786e5f77a5c06da6c07f718e4a7619a75d9e6)
parent a973323a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -51,7 +51,6 @@ PRODUCT_PACKAGES += \
    charger \
    cmd \
    com.android.adbd \
    com.android.apex.cts.shim.v1 \
    com.android.conscrypt \
    com.android.extservices \
    com.android.i18n \
@@ -71,6 +70,8 @@ PRODUCT_PACKAGES += \
    ContactsProvider \
    content \
    crash_dump \
    CtsShimPrebuilt \
    CtsShimPrivPrebuilt \
    debuggerd\
    device_config \
    dmctl \
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@
# Inherit this when the target needs to support updating APEXes

ifneq ($(OVERRIDE_TARGET_FLATTEN_APEX),true)
  # com.android.apex.cts.shim.v1_prebuilt overrides CtsShimPrebuilt
  # and CtsShimPrivPrebuilt since they are packaged inside the APEX.
  PRODUCT_PACKAGES += com.android.apex.cts.shim.v1_prebuilt
  PRODUCT_PROPERTY_OVERRIDES := ro.apex.updatable=true
  TARGET_FLATTEN_APEX := false