commit | 09255b6b2014d509abb00a5d97d995ab99365e73 | [log] [tgz] |
---|---|---|
author | Yihan Dong <slotus@google.com> | Tue Jan 14 00:37:57 2025 -0800 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jan 14 00:37:57 2025 -0800 |
tree | c5792f6e047ad039d22653eab43191244a091537 | |
parent | d60b0c1b6ed33308e1713c822f778cd5f1a05816 [diff] | |
parent | c5c897230e6ca62c36e897660bcd0bd05b048db8 [diff] |
Correct the map size before accessing in VTS test am: 72b8a3a7ce am: c5c897230e Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3411437 Change-Id: I787f5a4bcda0d78e598098d0b6f576a560fa54f9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp b/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp index e9b74b7..128ef61 100644 --- a/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp +++ b/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp
@@ -1566,6 +1566,7 @@ }; for (auto& lc3_config : lc3_codec_configs) { + le_audio_broadcast_config.streamMap.resize(1); le_audio_broadcast_config.streamMap[0] .leAudioCodecConfig.set<LeAudioCodecConfiguration::lc3Config>( lc3_config);