Adding support for IAudioControl@2.0
- Moved interactions with IAudioControl HAL to AudioControlWraper class
- Added support for version 2.0 and defaults to it if both are present
Bug: 148178269
Test: atest AudioControlTest && atest com.android.car.audio
Change-Id: I41c7a6df7eb36c101694945eeb3ba9005eca5e02
diff --git a/service/Android.bp b/service/Android.bp
index 06d120b..56d7a49 100644
--- a/service/Android.bp
+++ b/service/Android.bp
@@ -33,6 +33,7 @@
"android.car.userlib",
"android.hidl.base-V1.0-java",
"android.hardware.automotive.audiocontrol-V1.0-java",
+ "android.hardware.automotive.audiocontrol-V2.0-java",
"android.hardware.automotive.vehicle-V2.0-java",
"android.hardware.health-V1.0-java",
"android.hardware.health-V2.0-java",