sm6225-common: Switch to the OSS sec NFC HAL

Change-Id: I0c2a3b4db42d0e8af92c510bdd014eacc610b7f7
This commit is contained in:
Tommaso Fonda 2024-02-04 19:38:54 +01:00 committed by Michael Bestas
parent b59023c589
commit 49f98753c4
2 changed files with 5 additions and 1 deletions

View file

@ -66,6 +66,10 @@ function blob_fixup() {
vendor/etc/init/android.hardware.nfc@1.2-service-moto.rc)
sed -i "s/class hal/override\n class hal/" "${2}"
;;
vendor/etc/init/android.hardware.nfc@1.2-service.sec.rc)
sed -i "s/sec/samsung/g" "${2}"
sed -i "s/class hal/override\n class hal/" "${2}"
;;
vendor/etc/init/android.hardware.nfc@1.2-service.st-moto.rc)
sed -i "s/class hal/override\n class hal/" "${2}"
;;

View file

@ -65,7 +65,7 @@
/dev/sec-nfc u:object_r:nfc_device:s0
/dev/st21nfc u:object_r:nfc_device:s0
/(vendor|system/vendor)/bin/STFlashTool u:object_r:stflashtool_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@1\.2-service\.sec u:object_r:hal_nfc_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@1\.2-service\.samsung u:object_r:hal_nfc_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@1\.2-service\.st u:object_r:hal_nfc_default_exec:s0
# Radio