From 1895fbd45158f25c1640b97b36b5e50d5f1af54f Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 20 Oct 2023 22:57:37 +0200 Subject: [PATCH] sm8350-common: sepolicy: Migrate to snxxx NFC AIDL HAL Change-Id: Ibe4c30bcb5b912109478a548019d19a85d27a4bb --- sepolicy/vendor/file_contexts | 2 +- sepolicy/vendor/hwservice_contexts | 3 --- sepolicy/vendor/service_contexts | 2 ++ 3 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 sepolicy/vendor/service_contexts diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index bf54feb..73d52f4 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -31,7 +31,7 @@ /(vendor|system/vendor)/bin/mlipayd@1.1 u:object_r:hal_mlipay_default_exec:s0 # 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 /sys/devices/virtual/touch/tp_dev/double_tap u:object_r:vendor_sysfs_double_tap:s0 diff --git a/sepolicy/vendor/hwservice_contexts b/sepolicy/vendor/hwservice_contexts index 7edf991..006f227 100644 --- a/sepolicy/vendor/hwservice_contexts +++ b/sepolicy/vendor/hwservice_contexts @@ -16,8 +16,5 @@ com.fingerprints.extension::IFingerprintOptical # Mlipay 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 vendor.xiaomi.hardware.citsensorservice::ICitSensorService u:object_r:vendor_hal_citsensorservice_xiaomi_hwservice:s0 diff --git a/sepolicy/vendor/service_contexts b/sepolicy/vendor/service_contexts new file mode 100644 index 0000000..2e7eb73 --- /dev/null +++ b/sepolicy/vendor/service_contexts @@ -0,0 +1,2 @@ +# NFC +vendor.nxp.nxpnfc_aidl.INxpNfc/default u:object_r:hal_nfc_service:s0