Codec2: Add vintf_fragments to sample service

Test: Builds

Bug: 149371323
Change-Id: Ibea0b1f6cf54c7aca6c33e33134b9c658b0ecd59
gugelfrei
Pawin Vongmasa 4 years ago
parent 1499f86e03
commit 5e3b767908

@ -47,6 +47,11 @@ cc_binary {
"libbinder",
],
required: ["android.hardware.media.c2@1.1-default-seccomp_policy"],
// The content in manifest_media_c2_V1_1_default.xml can be included
// directly in the main device manifest.xml file or via vintf_fragments.
// (Remove the line below if the entry is already in the main manifest.)
vintf_fragments: ["manifest_media_c2_V1_1_default.xml"],
}
// seccomp policy file.

@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal>
<name>android.hardware.media.c2</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IComponentStore</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal>
<name>android.hardware.media.c2</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IComponentStore</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
Loading…
Cancel
Save