commit | fd206dd85f13a3ee4dadb690c5ecf220980028db | [log] [tgz] |
---|---|---|
author | Yihan Dong <slotus@google.com> | Tue Jan 14 00:38:18 2025 -0800 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jan 14 00:38:18 2025 -0800 |
tree | afd2bf8aa1847bc45b1f88f0232012a63e2d5f97 | |
parent | 62371067b9af1b324d839ab202fa35296364724b [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: Ic095ed81cde09b825a7037e0bfe49ea069db5b26 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);