Move v4l2_codec HAL from the manifest to a vintf fragment am: 7e1534270b am: 6739e0ef64 am: 05b0a17e0f am: 5a5fefafc3
Original change: https://android-review.googlesource.com/c/platform/external/v4l2_codec2/+/2665236
Change-Id: I025b411861f4d3863779378cf94eca7e8342e077
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/README.md b/README.md
index aa59a40..7b4455d 100644
--- a/README.md
+++ b/README.md
@@ -74,26 +74,6 @@
<path_to_policy>:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext.policy
```
-Enable codec2 hidl in manifest.xml
-
-```xml
-<manifest version="1.0" type="device">
- <hal format="hidl">
- <name>android.hardware.media.c2</name>
- <transport>hwbinder</transport>
- <version>1.0</version>
- <interface>
- <name>IComponentStore</name>
- <instance>default</instance>
- </interface>
- <interface>
- <name>IConfigurable</name>
- <instance>default</instance>
- </interface>
- </hal>
-</manifest>
-```
-
Add decode and encode components in media\_codecs\_c2.xml
```xml
diff --git a/service/Android.bp b/service/Android.bp
index c901a02..2af2b65 100644
--- a/service/Android.bp
+++ b/service/Android.bp
@@ -44,4 +44,5 @@
init_rc: ["[email protected]"],
},
},
+ vintf_fragments: ["[email protected]"],
}
diff --git a/service/[email protected] b/service/[email protected]
new file mode 100644
index 0000000..7976a59
--- /dev/null
+++ b/service/[email protected]
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.media.c2</name>
+ <transport>hwbinder</transport>
+ <version>1.2</version>
+ <interface>
+ <name>IComponentStore</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+</manifest>