[Android] Device dialog: allow state loss on dismiss
Geoffrey Métais
git at videolan.org
Tue May 7 14:39:19 CEST 2019
vlc-android | branch: 3.1.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue May 7 14:31:10 2019 +0200| [5609007e785e34990ffe7bf2104886ecb91c71cb] | committer: Geoffrey Métais
Device dialog: allow state loss on dismiss
(cherry picked from commit 078ffc9c4240b0075a3b688106de9d91a2f43cb8)
> https://code.videolan.org/videolan/vlc-android/commit/5609007e785e34990ffe7bf2104886ecb91c71cb
---
vlc-android/src/org/videolan/vlc/gui/dialogs/DeviceDialog.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/DeviceDialog.kt b/vlc-android/src/org/videolan/vlc/gui/dialogs/DeviceDialog.kt
index cb6ffab17..8ed15f694 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/DeviceDialog.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/DeviceDialog.kt
@@ -38,7 +38,7 @@ class DeviceDialog : DialogFragment(), CoroutineScope by MainScope() {
super.onViewCreated(view, savedInstanceState)
launch {
delay(30_000L)
- dismiss()
+ dismissAllowingStateLoss()
}
}
More information about the Android
mailing list