commit | 5f751e7d5a369615094130f161864dfdd73b459c | [log] [tgz] |
---|---|---|
author | Grzegorz Kołodziejczyk <grzegorz.kolodziejczyk@codecoup.pl> | Fri Nov 20 10:04:17 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Nov 20 10:04:17 2020 +0000 |
tree | 441c03eac4e5f2118e0c57c6b731c08e0b794ee5 | |
parent | aebd7132e4a0c0f49a4e033d63fdee26176efffd [diff] | |
parent | 37cc2c758602866d57cf3670ad32992c05493226 [diff] |
Reset data queue pointer in negative config cases am: e01b0f7c5a am: 7140d6708a am: 37cc2c7586 Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1503732 Change-Id: I31b5d4347f1c3327f84aed5e2ed37ce70848530a
diff --git a/bluetooth/audio/2.1/vts/functional/VtsHalBluetoothAudioV2_1TargetTest.cpp b/bluetooth/audio/2.1/vts/functional/VtsHalBluetoothAudioV2_1TargetTest.cpp index c0ec907..5cc4705 100644 --- a/bluetooth/audio/2.1/vts/functional/VtsHalBluetoothAudioV2_1TargetTest.cpp +++ b/bluetooth/audio/2.1/vts/functional/VtsHalBluetoothAudioV2_1TargetTest.cpp
@@ -1043,6 +1043,7 @@ } else { EXPECT_EQ(status, BluetoothAudioStatus::UNSUPPORTED_CODEC_CONFIGURATION); EXPECT_FALSE(dataMQ.isHandleValid()); + tempDataMQ.reset(nullptr); } }; android::hardware::bluetooth::audio::V2_1::AudioConfiguration audio_config = @@ -1132,6 +1133,7 @@ } else { EXPECT_EQ(status, BluetoothAudioStatus::UNSUPPORTED_CODEC_CONFIGURATION); EXPECT_FALSE(dataMQ.isHandleValid()); + tempDataMQ.reset(nullptr); } }; android::hardware::bluetooth::audio::V2_1::AudioConfiguration audio_config =