hidl: camera: provider: Add a VINTF fragment
Change-Id: I4a49f96b5a8f77bdc3574f486547f34517da22bd
diff --git a/hidl/camera/provider/2.5/Android.bp b/hidl/camera/provider/2.5/Android.bp
index 519badd..0954578 100644
--- a/hidl/camera/provider/2.5/Android.bp
+++ b/hidl/camera/provider/2.5/Android.bp
@@ -63,6 +63,7 @@
defaults: ["hidl_defaults"],
proprietary: true,
relative_install_path: "hw",
+ vintf_fragments: ["android.hardware.camera.provider@2.5-service.samsung.xml"],
srcs: ["service.cpp"],
shared_libs: [
"android.hardware.camera.common@1.0",
diff --git a/hidl/camera/provider/2.5/android.hardware.camera.provider@2.5-service.samsung.xml b/hidl/camera/provider/2.5/android.hardware.camera.provider@2.5-service.samsung.xml
new file mode 100644
index 0000000..5ac0c1a
--- /dev/null
+++ b/hidl/camera/provider/2.5/android.hardware.camera.provider@2.5-service.samsung.xml
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl" override="true">
+ <name>android.hardware.camera.provider</name>
+ <transport>hwbinder</transport>
+ <version>2.5</version>
+ <interface>
+ <name>ICameraProvider</name>
+ <instance>legacy/0</instance>
+ </interface>
+ </hal>
+</manifest>