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

Commit 76adba3e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "BtAudio: Iterate reference in VTS helper"

parents 687ffed8 4d2938f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -419,7 +419,7 @@ class BluetoothAudioProviderA2dpHardwareAidl

  void GetA2dpOffloadCapabilityHelper(const CodecType& codec_type) {
    temp_codec_capabilities_ = nullptr;
    for (auto codec_capability : temp_provider_capabilities_) {
    for (auto& codec_capability : temp_provider_capabilities_) {
      auto& a2dp_capabilities =
          codec_capability.get<AudioCapabilities::a2dpCapabilities>();
      if (a2dp_capabilities.codecType != codec_type) {