diff --git a/BoardConfig.mk b/BoardConfig.mk index 791a811..b465cb5 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -22,5 +22,8 @@ TARGET_OTA_ASSERT_DEVICE := matissewifi # Kernel TARGET_KERNEL_CONFIG := lineage_matissewifi_defconfig +# HIDL +DEVICE_MANIFEST_FILE += device/samsung/matissewifi/manifest.xml + # inherit from the proprietary version -include vendor/samsung/matissewifi/BoardConfigVendor.mk diff --git a/device.mk b/device.mk index 83d0ab1..45c2dcc 100644 --- a/device.mk +++ b/device.mk @@ -24,6 +24,14 @@ DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) +# Permissions +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml + +# IR Blaster +PRODUCT_PACKAGES += \ + android.hardware.ir@1.0-service.samsung + # Get non-open-source specific aspects $(call inherit-product-if-exists, vendor/samsung/matissewifi/matissewifi-vendor.mk) diff --git a/manifest.xml b/manifest.xml new file mode 100644 index 0000000..ab040c3 --- /dev/null +++ b/manifest.xml @@ -0,0 +1,11 @@ + + + android.hardware.ir + hwbinder + 1.0 + + IConsumerIr + default + + +