Revert "matissewifi: nuke IR"

This reverts commit d66ed399be.

Conflicts:
	device.mk
This commit is contained in:
DJABhipHop 2021-02-02 08:33:07 -05:00 committed by matteo0026
parent 5927afe1ca
commit dad592c055
3 changed files with 22 additions and 0 deletions

View file

@ -22,5 +22,8 @@ TARGET_OTA_ASSERT_DEVICE := matissewifi
# Kernel # Kernel
TARGET_KERNEL_CONFIG := lineage_matissewifi_defconfig TARGET_KERNEL_CONFIG := lineage_matissewifi_defconfig
# HIDL
DEVICE_MANIFEST_FILE += device/samsung/matissewifi/manifest.xml
# inherit from the proprietary version # inherit from the proprietary version
-include vendor/samsung/matissewifi/BoardConfigVendor.mk -include vendor/samsung/matissewifi/BoardConfigVendor.mk

View file

@ -24,6 +24,14 @@ DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH) $(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 # Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/samsung/matissewifi/matissewifi-vendor.mk) $(call inherit-product-if-exists, vendor/samsung/matissewifi/matissewifi-vendor.mk)

11
manifest.xml Normal file
View file

@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.ir</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IConsumerIr</name>
<instance>default</instance>
</interface>
</hal>
</manifest>