sweet: Move to Xiaomi IR AIDL

Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
This commit is contained in:
Sebastiano Barezzi 2024-08-18 23:59:08 +02:00 committed by donjohanliebert
parent fb54cb5594
commit 4a3a997366
4 changed files with 5 additions and 7 deletions

View File

@ -57,7 +57,7 @@ PRODUCT_COPY_FILES += \
# IR
PRODUCT_PACKAGES += \
android.hardware.ir-service.example
android.hardware.ir-service.xiaomi
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml

View File

@ -331,9 +331,6 @@ 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/etc/libnfc-nci.conf
vendor/etc/libnfc-nxp.conf

View File

@ -1,5 +1,6 @@
# IR
/dev/ir_spi u:object_r:vendor_ir_device:s0
/dev/lirc[0-9]+ u:object_r:lirc_device:s0
/vendor/bin/hw/android\.hardware\.ir-service\.xiaomi u:object_r:hal_ir_default_exec:s0
# Proximity
/dev/elliptic0 u:object_r:vendor_elliptic_device:s0

View File

@ -1,3 +1,3 @@
type vendor_ir_device, dev_type;
type lirc_device, dev_type;
allow hal_ir_default vendor_ir_device:chr_file rw_file_perms;
allow hal_ir_default lirc_device:chr_file rw_file_perms;