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

Commit 8d0b253b authored by Rongxuan Liu's avatar Rongxuan Liu Committed by Gerrit Code Review
Browse files

Merge "[le audio] Fix the null pointer crash in SetAllowedDsaModes" into main

parents 066a6f5a 116094f9
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -892,8 +892,12 @@ void LeAudioClientInterface::SetAllowedDsaModes(DsaModes dsa_modes) {
          break;
      }
    }
    if (aidl::le_audio::LeAudioSourceTransport::interface) {
      aidl::le_audio::LeAudioSourceTransport::interface->SetAllowedLatencyModes(
          latency_modes);
    } else {
      LOG(WARNING) << "LeAudioSourceTransport::interface is null";
    }
  }
}