diff --git a/configs/hidl/device_framework_compatibility_matrix.xml b/configs/hidl/device_framework_compatibility_matrix.xml index 64570da..2c4d011 100644 --- a/configs/hidl/device_framework_compatibility_matrix.xml +++ b/configs/hidl/device_framework_compatibility_matrix.xml @@ -26,6 +26,14 @@ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> + + android.hardware.ir + 1.0 + + IConsumerIr + default + + android.hardware.gnss 1.0 diff --git a/configs/hidl/manifest.xml b/configs/hidl/manifest.xml index f55d45f..c6137d3 100644 --- a/configs/hidl/manifest.xml +++ b/configs/hidl/manifest.xml @@ -1,4 +1,13 @@ + + android.hardware.ir + hwbinder + 1.0 + + IConsumerIr + default + + android.hardware.sensors hwbinder @@ -9,3 +18,4 @@ + diff --git a/device.mk b/device.mk index 7d60c4f..9e8861f 100644 --- a/device.mk +++ b/device.mk @@ -70,6 +70,14 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_sweet/com.android.nfc_extras.xml \ frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_sweet/com.nxp.mifare.xml +# IR +PRODUCT_PACKAGES += \ + android.hardware.ir@1.0-impl \ + android.hardware.ir@1.0-service + +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml + # Overlay DEVICE_PACKAGE_OVERLAYS += \ $(LOCAL_PATH)/overlay \ diff --git a/proprietary-files.txt b/proprietary-files.txt index 51721f5..bef7821 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -288,6 +288,9 @@ vendor/firmware/a615_zap.mdt vendor/firmware/a618_gmu.bin vendor/firmware/a630_sqe.fw +# IR +-vendor/lib64/hw/consumerir.default.so:vendor/lib64/hw/consumerir.sm6150.so + # NFC -vendor/lib/libpn553_fw.so