recreate the visualized at initialization to avoid stucking

This commit is contained in:
tibbi 2020-03-30 19:58:38 +02:00
parent 99be9390d0
commit 369fe544ca
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ class MainActivity : SimpleActivity() {
}
private fun initVoiceRecorder() {
visualizer.recreate()
bus = EventBus.getDefault()
bus!!.register(this)