Default binderized implementation of android.hardware.nfc@1.0
Provide a default binderized HAL implementation. The implementation
uses android.hardware.nfc@1.0-impl.so, which in turn loads the
conventional HAL (nfc_nci.default.so). If a device includes package
android.hardware.nfc@1.0-service, the device will automatically use the
binderized implementation of the NFC HAL. If a device includes package
android.hardware.nfc@1.0-impl instead, it will use the default
implementation in hardware/interfaces/nfc/1.0/default.
b/31688271
Test: pass
Change-Id: I31cd93d28705d287975b485092cffd7661599d7c
Signed-off-by: Iliyan Malchev <malchev@google.com>
diff --git a/nfc/1.0/default/android.hardware.nfc@1.0-service.rc b/nfc/1.0/default/android.hardware.nfc@1.0-service.rc
new file mode 100644
index 0000000..1d42718
--- /dev/null
+++ b/nfc/1.0/default/android.hardware.nfc@1.0-service.rc
@@ -0,0 +1,4 @@
+service nfc_hal_service /system/bin/hw/android.hardware.nfc@1.0-service
+ class hal
+ user nfc
+ group nfc readproc