adding missing . for file extension

This commit is contained in:
Adam Brown 2021-11-24 10:33:53 +00:00
parent 5ee379e10d
commit 00059e7b70

View file

@ -62,7 +62,7 @@ abstract class AbstractVoiceRecorder(
override fun startRecord() { override fun startRecord() {
init() init()
outputFile = File(outputDirectory, "${UUID.randomUUID()}$filenameExt") outputFile = File(outputDirectory, "${UUID.randomUUID()}.$filenameExt")
val mr = mediaRecorder ?: return val mr = mediaRecorder ?: return
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {