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

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

Merge "Fix broken failure condition when populating ase configurtion." into main am: 358509c1

parents e424e4ae 358509c1
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -674,17 +674,17 @@ void AudioSetConfigurationProviderJson::PopulateAseConfigurationFromFlat(
        configurationFlags.bitmask |=
            ConfigurationFlags::ALLOW_ASYMMETRIC_CONFIGURATIONS;
      }
    }
  } else {
    if (codec_cfg == nullptr) {
        LOG(ERROR) << "No codec config matching key "
                   << codec_config_key.c_str() << " found";
      LOG(ERROR) << "No codec config matching key " << codec_config_key.c_str()
                 << " found";
    } else {
      LOG(ERROR) << "Configuration '" << flat_cfg->name()->c_str()
                 << "' has no valid subconfigurations.";
    }
  }
}
}

bool AudioSetConfigurationProviderJson::LoadConfigurationsFromFiles(
    const char* schema_file, const char* content_file, CodecLocation location) {