Move log message helpers to LogUtils

This class will also contain other log helpers.
This commit is contained in:
Romain Vimont
2023-02-23 23:09:25 +01:00
parent b93a8b911b
commit 5c7af685a4
5 changed files with 42 additions and 32 deletions

View File

@@ -338,7 +338,7 @@ public final class AudioEncoder {
try {
return MediaCodec.createByCodecName(encoderName);
} catch (IllegalArgumentException e) {
Ln.e("Encoder '" + encoderName + "' for " + codec.getName() + " not found\n" + CodecUtils.buildAudioEncoderListMessage());
Ln.e("Encoder '" + encoderName + "' for " + codec.getName() + " not found\n" + LogUtils.buildAudioEncoderListMessage());
throw new ConfigurationException("Unknown encoder: " + encoderName);
}
}