recreate the visualized at initialization to avoid stucking
This commit is contained in:
parent
99be9390d0
commit
369fe544ca
|
@ -87,6 +87,7 @@ class MainActivity : SimpleActivity() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun initVoiceRecorder() {
|
private fun initVoiceRecorder() {
|
||||||
|
visualizer.recreate()
|
||||||
bus = EventBus.getDefault()
|
bus = EventBus.getDefault()
|
||||||
bus!!.register(this)
|
bus!!.register(this)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue