sm6225-common: Switch to the OSS sec NFC HAL
Change-Id: I0c2a3b4db42d0e8af92c510bdd014eacc610b7f7
This commit is contained in:
parent
b59023c589
commit
49f98753c4
2 changed files with 5 additions and 1 deletions
|
@ -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}"
|
||||
;;
|
||||
|
|
2
sepolicy/vendor/file_contexts
vendored
2
sepolicy/vendor/file_contexts
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue