sm8350-common: sepolicy: Migrate to snxxx NFC AIDL HAL

Change-Id: Ibe4c30bcb5b912109478a548019d19a85d27a4bb
This commit is contained in:
LuK1337 2023-10-20 22:57:37 +02:00 committed by FlowerSea0208
parent d536e30ca9
commit 1895fbd451
3 changed files with 3 additions and 4 deletions

View File

@ -31,7 +31,7 @@
/(vendor|system/vendor)/bin/mlipayd@1.1 u:object_r:hal_mlipay_default_exec:s0 /(vendor|system/vendor)/bin/mlipayd@1.1 u:object_r:hal_mlipay_default_exec:s0
# NFC # NFC
/vendor/bin/hw/android\.hardware\.nfc_snxxx@1\.2-service u:object_r:hal_nfc_default_exec:s0 /vendor/bin/hw/android\.hardware\.nfc-service\.nxp u:object_r:hal_nfc_default_exec:s0
# Power # Power
/sys/devices/virtual/touch/tp_dev/double_tap u:object_r:vendor_sysfs_double_tap:s0 /sys/devices/virtual/touch/tp_dev/double_tap u:object_r:vendor_sysfs_double_tap:s0

View File

@ -16,8 +16,5 @@ com.fingerprints.extension::IFingerprintOptical
# Mlipay # Mlipay
vendor.xiaomi.hardware.mlipay::IMlipayService u:object_r:hal_mlipay_hwservice:s0 vendor.xiaomi.hardware.mlipay::IMlipayService u:object_r:hal_mlipay_hwservice:s0
# NFC
vendor.nxp.nxpnfc::INxpNfc u:object_r:hal_nfc_hwservice:s0
# Sensors # Sensors
vendor.xiaomi.hardware.citsensorservice::ICitSensorService u:object_r:vendor_hal_citsensorservice_xiaomi_hwservice:s0 vendor.xiaomi.hardware.citsensorservice::ICitSensorService u:object_r:vendor_hal_citsensorservice_xiaomi_hwservice:s0

2
sepolicy/vendor/service_contexts vendored Normal file
View File

@ -0,0 +1,2 @@
# NFC
vendor.nxp.nxpnfc_aidl.INxpNfc/default u:object_r:hal_nfc_service:s0