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
This commit is contained in:
Zhaoming Yin 2019-11-18 19:27:01 -08:00
parent 683ad9fa44
commit 5bfecf49a7
2 changed files with 12 additions and 1 deletions

View file

@ -29,7 +29,7 @@ cc_binary {
"liblog",
"libutils",
],
vintf_fragments: ["audiocontrol_manifest.xml"],
cflags: [
"-DLOG_TAG=\"AudCntrlDrv\"",
"-O0",

View file

@ -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>