From f6497dd78c6667e8635f97f7cb30e95d5f219f78 Mon Sep 17 00:00:00 2001 From: Ram Mohan Date: Thu, 29 Jun 2023 08:36:31 +0530 Subject: [PATCH] bluetooth: Fix dependency on android.hardware.audio.common Make android.hardware.bluetooth.audio-V3 and VtsHalBluetoothAudioTargetTest to depend on android.hardware.audio.common-V2. This is needed so that the audio HAL service can depend on android.hardware.bluetooth.audio-V3. Bug: 228804498 Test: m Change-Id: Ic001e651de4cc6ef6920f1d6d80ab272c45aefe2 Merged-In: Ic001e651de4cc6ef6920f1d6d80ab272c45aefe2 --- bluetooth/audio/aidl/Android.bp | 4 ++-- bluetooth/audio/aidl/vts/Android.bp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bluetooth/audio/aidl/Android.bp b/bluetooth/audio/aidl/Android.bp index 32f8cca7d2..16b22fef36 100644 --- a/bluetooth/audio/aidl/Android.bp +++ b/bluetooth/audio/aidl/Android.bp @@ -29,7 +29,7 @@ aidl_interface { imports: [ "android.hardware.common-V2", "android.hardware.common.fmq-V1", - "android.hardware.audio.common-V1", + "android.hardware.audio.common-V2", ], backend: { cpp: { @@ -69,7 +69,7 @@ aidl_interface { imports: [ "android.hardware.common-V2", "android.hardware.common.fmq-V1", - "android.hardware.audio.common-V1", + "android.hardware.audio.common-V2", ], }, diff --git a/bluetooth/audio/aidl/vts/Android.bp b/bluetooth/audio/aidl/vts/Android.bp index 3e6953ff5d..fa85fa87f0 100644 --- a/bluetooth/audio/aidl/vts/Android.bp +++ b/bluetooth/audio/aidl/vts/Android.bp @@ -16,7 +16,7 @@ cc_test { tidy_timeout_srcs: ["VtsHalBluetoothAudioTargetTest.cpp"], srcs: ["VtsHalBluetoothAudioTargetTest.cpp"], static_libs: [ - "android.hardware.audio.common-V1-ndk", + "android.hardware.audio.common-V2-ndk", "android.hardware.bluetooth.audio-V3-ndk", "android.hardware.common-V2-ndk", "android.hardware.common.fmq-V1-ndk",