sm8450-common: Move to Xiaomi IR AIDL
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
This commit is contained in:
parent
abd3e699c6
commit
a1e2240d59
6 changed files with 5 additions and 17 deletions
|
@ -272,8 +272,7 @@ PRODUCT_PACKAGES += \
|
|||
|
||||
# IR
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.ir@1.0-impl:64 \
|
||||
android.hardware.ir@1.0-service
|
||||
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
|
||||
|
|
|
@ -408,9 +408,6 @@ vendor/lib64/libqtiidentitycredential.so
|
|||
# IPA firmware
|
||||
vendor/etc/init/ipa_fws.rc
|
||||
|
||||
# IR
|
||||
vendor/lib64/hw/consumerir.qcom.so
|
||||
|
||||
# IRQ balance
|
||||
vendor/bin/msm_irqbalance
|
||||
vendor/etc/msm_irqbalance.conf
|
||||
|
|
2
sepolicy/vendor/device.te
vendored
2
sepolicy/vendor/device.te
vendored
|
@ -11,7 +11,7 @@ type vendor_displayfeature_device, dev_type;
|
|||
type vendor_fingerprint_device, dev_type;
|
||||
|
||||
# IR
|
||||
type ir_spi_device, dev_type;
|
||||
type lirc_device, dev_type;
|
||||
|
||||
# Modem
|
||||
type vendor_radio_smd_device, dev_type;
|
||||
|
|
3
sepolicy/vendor/file_contexts
vendored
3
sepolicy/vendor/file_contexts
vendored
|
@ -56,7 +56,8 @@
|
|||
/mnt/vendor/persist/qxwz u:object_r:qx_oss_vendor_data_file:s0
|
||||
|
||||
# IR
|
||||
/dev/ir_spi u:object_r:ir_spi_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
|
||||
|
||||
# Mac Address
|
||||
/data/vendor/mac_addr(/.*)? u:object_r:vendor_mac_vendor_data_file:s0
|
||||
|
|
2
sepolicy/vendor/hal_ir_default.te
vendored
2
sepolicy/vendor/hal_ir_default.te
vendored
|
@ -1 +1 @@
|
|||
allow hal_ir_default ir_spi_device:chr_file rw_file_perms;
|
||||
allow hal_ir_default lirc_device:chr_file rw_file_perms;
|
||||
|
|
|
@ -3,15 +3,6 @@
|
|||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<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>
|
||||
<hal format="hidl">
|
||||
<name>com.fingerprints.extension</name>
|
||||
<transport>hwbinder</transport>
|
||||
|
|
Loading…
Reference in a new issue