summaryrefslogtreecommitdiffstats
path: root/apex
diff options
context:
space:
mode:
authorPawin Vongmasa <pawin@google.com>2019-04-04 20:25:09 -0700
committerPawin Vongmasa <pawin@google.com>2019-04-05 16:49:38 -0700
commit08006ea91d39c02ce93a02018dfbdf26143c5563 (patch)
tree9734128ec44daed2de00310a253aaabfd5a5d43e /apex
parent0e8d9896cd0ebc99705a0f9f14455d6ffc436434 (diff)
downloadframeworks_av-08006ea91d39c02ce93a02018dfbdf26143c5563.tar.gz
frameworks_av-08006ea91d39c02ce93a02018dfbdf26143c5563.tar.bz2
frameworks_av-08006ea91d39c02ce93a02018dfbdf26143c5563.zip
Use vintf_fragments for media.c2/software
This makes the entry for media.c2 in the framework manifest device-independent. Test: adb shell stagefright -i | grep -E "c2.*android" Bug: 129999541 Change-Id: Idba276c512f495937aec32c4217dfd447e562139
Diffstat (limited to 'apex')
-rw-r--r--apex/Android.bp1
-rw-r--r--apex/manifest_media_c2_software.xml11
2 files changed, 12 insertions, 0 deletions
diff --git a/apex/Android.bp b/apex/Android.bp
index 0a9551d4d3..6673543dab 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -99,6 +99,7 @@ apex {
name: "com.android.media.swcodec",
manifest: "manifest_codec.json",
defaults: ["com.android.media.swcodec-defaults"],
+ vintf_fragments: ["manifest_media_c2_software.xml"],
}
apex_key {
diff --git a/apex/manifest_media_c2_software.xml b/apex/manifest_media_c2_software.xml
new file mode 100644
index 0000000000..5196336c15
--- /dev/null
+++ b/apex/manifest_media_c2_software.xml
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="framework">
+ <hal>
+ <name>android.hardware.media.c2</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IComponentStore</name>
+ <instance>software</instance>
+ </interface>
+ </hal>
+</manifest>