Don't install omx service by default on new devices
On devices launching after Android U, we no longer install the HIDL OMX service. It is deprecated. Test: Build and run Cuttlefish with SHIPING_API_LEVEL 33 and 34 Bug: 218588089 Change-Id: I9a6dbffd381bdad5428e9c365bd50445a9b14a67
This commit is contained in:
@@ -473,6 +473,9 @@ ifdef PRODUCT_SHIPPING_API_LEVEL
|
|||||||
ifneq (,$(call math_gt_or_eq,29,$(PRODUCT_SHIPPING_API_LEVEL)))
|
ifneq (,$(call math_gt_or_eq,29,$(PRODUCT_SHIPPING_API_LEVEL)))
|
||||||
PRODUCT_PACKAGES += $(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29)
|
PRODUCT_PACKAGES += $(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29)
|
||||||
endif
|
endif
|
||||||
|
ifneq (,$(call math_gt_or_eq,33,$(PRODUCT_SHIPPING_API_LEVEL)))
|
||||||
|
PRODUCT_PACKAGES += $(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_33)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# If build command defines OVERRIDE_PRODUCT_EXTRA_VNDK_VERSIONS,
|
# If build command defines OVERRIDE_PRODUCT_EXTRA_VNDK_VERSIONS,
|
||||||
|
@@ -74,8 +74,9 @@ PRODUCT_PACKAGES += \
|
|||||||
shell_and_utilities_vendor \
|
shell_and_utilities_vendor \
|
||||||
|
|
||||||
# OMX not supported for 64bit_only builds
|
# OMX not supported for 64bit_only builds
|
||||||
|
# Only supported when SHIPPING_API_LEVEL is less than or equal to 33
|
||||||
ifneq ($(TARGET_SUPPORTS_OMX_SERVICE),false)
|
ifneq ($(TARGET_SUPPORTS_OMX_SERVICE),false)
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES_SHIPPING_API_LEVEL_33 += \
|
||||||
android.hardware.media.omx@1.0-service \
|
android.hardware.media.omx@1.0-service \
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user