Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd206dd8 authored by Yihan Dong's avatar Yihan Dong Committed by Automerger Merge Worker
Browse files

Correct the map size before accessing in VTS test am: 72b8a3a7 am: c5c89723

parents 62371067 c5c89723
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1566,6 +1566,7 @@ TEST_P(BluetoothAudioProviderLeAudioBroadcastHardwareAidl,
  };

  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);