mirror of
https://github.com/videolan/vlc-android
synced 2024-12-12 03:07:05 +08:00
Prevent an IllegalStateException crash in the remote access onboarding
This commit is contained in:
parent
69a4d8eb37
commit
c19292f62d
@ -64,10 +64,13 @@ class RemoteAccessOnboardingContentFragment : RemoteAccessOnboardingFragment() {
|
||||
animationLoop.playSequentially(appearingSets.toMutableList() as List<Animator>?)
|
||||
animationLoop.doOnEnd {
|
||||
lifecycleScope.launch {
|
||||
try {
|
||||
viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) {
|
||||
delay(2000)
|
||||
animationLoop.start()
|
||||
}
|
||||
} catch (_: IllegalStateException) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user