Skip to content

Commit

Permalink
small adjustments
Browse files Browse the repository at this point in the history
Signed-off-by: rapterjet2004 <[email protected]>
  • Loading branch information
rapterjet2004 committed Nov 28, 2023
1 parent 14fa9ba commit 07670ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,6 @@ class ChatActivity :

private fun initPreviewVoiceRecording() {
voicePreviewMediaPlayer = MediaPlayer().apply {
Log.e(TAG, currentVoiceRecordFile)
setDataSource(currentVoiceRecordFile)
prepare()
setOnPreparedListener {
Expand Down Expand Up @@ -2221,6 +2220,7 @@ class ChatActivity :
try {
if (mediaRecorderState == MediaRecorderState.RECORDING) {
stop()
reset()
mediaRecorderState = MediaRecorderState.INITIAL
Log.d(TAG, "stopped recorder")
}
Expand Down

0 comments on commit 07670ff

Please sign in to comment.