From 5bfecf49a7986fea819949fd7d6a49788726108a Mon Sep 17 00:00:00 2001 From: Zhaoming Yin Date: Mon, 18 Nov 2019 19:27:01 -0800 Subject: [PATCH] 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 --- automotive/audiocontrol/1.0/default/Android.bp | 2 +- .../1.0/default/audiocontrol_manifest.xml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 automotive/audiocontrol/1.0/default/audiocontrol_manifest.xml 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 @@ + + + android.hardware.automotive.audiocontrol + hwbinder + 1.0 + + IAudioControl + default + + + \ No newline at end of file