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