summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdm660.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/sdm660.mk b/sdm660.mk
index 4e57a6d..3a5ba4d 100644
--- a/sdm660.mk
+++ b/sdm660.mk
@@ -141,6 +141,15 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \
$(LOCAL_PATH)/configs/component-overrides-qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/component-overrides.xml
+# ConsumerIR
+ifeq ($(BOARD_HAVE_IR),true)
+PRODUCT_PACKAGES += \
+ android.hardware.ir@1.0-service.xiaomi_sdm660
+
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
+endif
+
# Display
PRODUCT_PACKAGES += \
gralloc.sdm660 \