nfc: add vintf manifest fragment
authorJan Altensen <info@stricted.net>
Sat, 24 Apr 2021 18:42:03 +0000 (20:42 +0200)
committerJan Altensen <info@stricted.net>
Sat, 24 Apr 2021 18:44:23 +0000 (20:44 +0200)
Change-Id: I2e0d59cfa069f1c17b030318590534bc91ca9bb1

1.2/Android.bp
1.2/android.hardware.nfc@1.2-service.samsung.xml [new file with mode: 0644]

index a1e8f4e43a40e25e99a96596192817d6f0d8ca47..c3456a5b03f0a6c003cfea4c755024ec31c47577 100644 (file)
@@ -12,6 +12,7 @@ cc_binary {
     defaults: ["hidl_defaults"],
     proprietary: true,
     init_rc: ["android.hardware.nfc@1.2-service.samsung.rc"],
+    vintf_fragments: ["android.hardware.nfc@1.2-service.samsung.xml"],
     relative_install_path: "hw",
     srcs: [
         "SecNfcService.cpp",
diff --git a/1.2/android.hardware.nfc@1.2-service.samsung.xml b/1.2/android.hardware.nfc@1.2-service.samsung.xml
new file mode 100644 (file)
index 0000000..7c87951
--- /dev/null
@@ -0,0 +1,12 @@
+<manifest version="1.0" type="device">
+    <hal format="hidl" override="true">
+        <name>android.hardware.nfc</name>
+        <transport>hwbinder</transport>
+        <version>1.2</version>
+        <interface>
+            <name>INfc</name>
+            <instance>default</instance>
+        </interface>
+        <fqname>@1.2::INfc/default</fqname>
+    </hal>
+</manifest>