commit | 37cc2c758602866d57cf3670ad32992c05493226 | [log] [tgz] |
---|---|---|
author | Grzegorz Kołodziejczyk <grzegorz.kolodziejczyk@codecoup.pl> | Fri Nov 20 09:46:34 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Nov 20 09:46:34 2020 +0000 |
tree | a1fde3050e8c3d99852326cb064db201d7ff3327 | |
parent | bf17d87addef0b74dd35a51ba6c8cfbac8d98d24 [diff] | |
parent | 7140d6708af4ba6f1b44797bd33f944e9ea0a0a9 [diff] |
Reset data queue pointer in negative config cases am: e01b0f7c5a am: 7140d6708a Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1503732 Change-Id: I3269612b44bff11cf4b5a29fb144366cf7d4148d
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 =