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

Commit 72b8a3a7 authored by Yihan Dong's avatar Yihan Dong
Browse files

Correct the map size before accessing in VTS test

Bug: 379795440
Change-Id: Iea704d397ac1c83c0e8ab6fcdc31e1294df686d2
Merged-In: I8ac88c1e9024ca03757620bf48eacdd60ada7eb4
parent 364f4268
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);