From e77f872215da972a46909e0e3b094198f7a76b29 Mon Sep 17 00:00:00 2001 From: Jakub Tyszkowski Date: Mon, 29 Jan 2024 13:21:21 +0000 Subject: [PATCH] Fix test run for GSI Bug: 321826143 Test: atest VtsHalBluetoothAudioTargetTest Change-Id: If0273a829e6e164c0aa986f4c90474581b210d7e --- bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp b/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp index 7b98634621..789e8a1268 100644 --- a/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp +++ b/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp @@ -2583,6 +2583,10 @@ TEST_P(BluetoothAudioProviderLeAudioOutputHardwareAidl, GetQoSConfiguration) { TEST_P(BluetoothAudioProviderLeAudioOutputHardwareAidl, GetDataPathConfiguration) { + if (GetProviderFactoryInterfaceVersion() < + BluetoothAudioHalVersion::VERSION_AIDL_V4) { + GTEST_SKIP(); + } IBluetoothAudioProvider::StreamConfig sink_requirement; IBluetoothAudioProvider::StreamConfig source_requirement; std::vector