recreate the visualized at initialization to avoid stucking
This commit is contained in:
parent
99be9390d0
commit
369fe544ca
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ class MainActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
private fun initVoiceRecorder() {
|
||||
visualizer.recreate()
|
||||
bus = EventBus.getDefault()
|
||||
bus!!.register(this)
|
||||
|
||||
|
|
Loading…
Reference in a new issue