nfc: add vintf manifest fragment lineage-18.1
authorJan Altensen <info@stricted.net>
Sat, 24 Apr 2021 18:42:03 +0000 (20:42 +0200)
committerJan Altensen <info@stricted.net>
Tue, 27 Apr 2021 16:53:40 +0000 (18:53 +0200)
Change-Id: I2e0d59cfa069f1c17b030318590534bc91ca9bb1

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

index fbd21fed6f8d7d813e17c5ef5e7d4ac56f7b5c81..ae4bc8c6be272eac59a1279587fcc46914e1149e 100644 (file)
@@ -3,6 +3,7 @@ cc_binary {
     defaults: ["hidl_defaults"],
     proprietary: true,
     init_rc: ["android.hardware.nfc@1.2-service.samsung.rc"],
     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",
     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>