diff options
author | Zhaoming Yin <zhaomingyin@google.com> | 2019-11-18 19:27:01 -0800 |
---|---|---|
committer | Zhaoming Yin <zhaomingyin@google.com> | 2019-11-19 19:35:40 +0000 |
commit | 5bfecf49a7986fea819949fd7d6a49788726108a (patch) | |
tree | f9ba9e7a09e4c446606745bb66960d77417989ba /automotive | |
parent | 683ad9fa449079e9f723f06ccf96f4842021f5e2 (diff) | |
download | platform_hardware_interfaces-5bfecf49a7986fea819949fd7d6a49788726108a.tar.gz platform_hardware_interfaces-5bfecf49a7986fea819949fd7d6a49788726108a.tar.bz2 platform_hardware_interfaces-5bfecf49a7986fea819949fd7d6a49788726108a.zip |
Make HAL default service run on crosshatch_car (VINTF registration)
Bug: 144734708
Test: manually, once compiled and flashed, the service will be in the
VINTF service list.
Change-Id: I92d05557ddc7c95f697d2f5a88ab8f481c4d0e5b
Diffstat (limited to 'automotive')
-rw-r--r-- | automotive/audiocontrol/1.0/default/Android.bp | 2 | ||||
-rw-r--r-- | automotive/audiocontrol/1.0/default/audiocontrol_manifest.xml | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/automotive/audiocontrol/1.0/default/Android.bp b/automotive/audiocontrol/1.0/default/Android.bp index 314830b92a..3d04c890bc 100644 --- a/automotive/audiocontrol/1.0/default/Android.bp +++ b/automotive/audiocontrol/1.0/default/Android.bp @@ -29,7 +29,7 @@ cc_binary { "liblog", "libutils", ], - + vintf_fragments: ["audiocontrol_manifest.xml"], cflags: [ "-DLOG_TAG=\"AudCntrlDrv\"", "-O0", diff --git a/automotive/audiocontrol/1.0/default/audiocontrol_manifest.xml b/automotive/audiocontrol/1.0/default/audiocontrol_manifest.xml new file mode 100644 index 0000000000..0981eb71ad --- /dev/null +++ b/automotive/audiocontrol/1.0/default/audiocontrol_manifest.xml @@ -0,0 +1,11 @@ +<manifest version="1.0" type="device"> + <hal format="hidl"> + <name>android.hardware.automotive.audiocontrol</name> + <transport>hwbinder</transport> + <version>1.0</version> + <interface> + <name>IAudioControl</name> + <instance>default</instance> + </interface> + </hal> +</manifest>
\ No newline at end of file |