sweet: Move to Xiaomi IR AIDL
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
This commit is contained in:
parent
22565f9636
commit
9a31e9b312
@ -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
|
||||
|
@ -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
|
||||
|
3
sepolicy/vendor/file_contexts
vendored
3
sepolicy/vendor/file_contexts
vendored
@ -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
|
||||
|
4
sepolicy/vendor/hal_ir_default.te
vendored
4
sepolicy/vendor/hal_ir_default.te
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user