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

Commit d89968f7 authored by Bao Do's avatar Bao Do Committed by Automerger Merge Worker
Browse files

Merge changes I478fc99b,I2150459b into main am: 740301ed am: 3109049d

parents 84bef270 3109049d
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -184,13 +184,14 @@ ndk::ScopedAStatus BluetoothAudioProviderFactory::getProviderInfo(
          SessionType::LE_AUDIO_BROADCAST_HARDWARE_OFFLOAD_ENCODING_DATAPATH) {
    std::vector<CodecInfo> db_codec_info =
        BluetoothAudioCodecs::GetLeAudioOffloadCodecInfo(session_type);
    if (!db_codec_info.empty()) {
    // Return provider info supports without checking db_codec_info
    // This help with various flow implementation for multidirectional support.
    auto& provider_info = _aidl_return->emplace();
    provider_info.supportsMultidirectionalCapabilities = true;
    provider_info.name = kLeAudioOffloadProviderName;
    provider_info.codecInfos = db_codec_info;
    return ndk::ScopedAStatus::ok();
  }
  }

  if (session_type == SessionType::HFP_HARDWARE_OFFLOAD_DATAPATH) {
    std::vector<CodecInfo> db_codec_info =