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

Commit 358509c1 authored by Bao Do's avatar Bao Do Committed by Gerrit Code Review
Browse files

Merge "Fix broken failure condition when populating ase configurtion." into main

parents 1d1198c2 16a0e909
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) {