From 369fe544caca22634e9751043ea9c5fe42465422 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 30 Mar 2020 19:58:38 +0200 Subject: [PATCH] recreate the visualized at initialization to avoid stucking --- .../simplemobiletools/voicerecorder/activities/MainActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/MainActivity.kt index 80a223d..1450cb9 100644 --- a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/MainActivity.kt @@ -87,6 +87,7 @@ class MainActivity : SimpleActivity() { } private fun initVoiceRecorder() { + visualizer.recreate() bus = EventBus.getDefault() bus!!.register(this)