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

View file

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