Unconditionally install shim apex on system partition

Trying to do it on per-device basis is prone to errors and already
bitten us several times. For example, currently aosp_taimen doesn't
install shim apex on system partition, but specifies
ro.apex.updatable = "true", which means that it doesn't pass CTS tests.

Unconditionally installing shim APEX shouldn't introduce any problems
since apexd will skip its activation of devices that don't support
updatable APEX.

Test: m checkbuild
Bug: 140957666
Change-Id: I6b5e668b40b97752295c831684a7291842533c40
This commit is contained in:
Nikita Ioffe 2019-10-04 20:31:45 +01:00
parent f89f29d669
commit b6eeae7289
2 changed files with 1 additions and 3 deletions

View File

@ -49,6 +49,7 @@ PRODUCT_PACKAGES += \
cgroups.json \
charger \
cmd \
com.android.apex.cts.shim.v1_prebuilt \
com.android.conscrypt \
com.android.i18n \
com.android.location.provider \

View File

@ -105,9 +105,6 @@ PRODUCT_HOST_PACKAGES += \
# Enable dynamic partition size
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
PRODUCT_PACKAGES += \
com.android.apex.cts.shim.v1_prebuilt
PRODUCT_ENFORCE_RRO_TARGETS := *
PRODUCT_NAME := mainline_system