diff --git a/aosp_common.mk b/aosp_common.mk index 5ba98821..d4d8d94a 100644 --- a/aosp_common.mk +++ b/aosp_common.mk @@ -53,3 +53,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk) # TODO: fix # PRODUCT_RESTRICT_VENDOR_FILES := all + +# Exclude features that are not available on AOSP devices. +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/aosp_excluded_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/aosp_excluded_hardware.xml \ No newline at end of file