Skip to content
Snippets Groups Projects
Commit 1d82c851 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix VlcDialog crash on orientation change

parent 8c88b12c
No related branches found
No related tags found
1 merge request!801Fix VlcDialog crash on orientation change
Pipeline #39392 passed with stage
in 2 minutes and 22 seconds
......@@ -49,6 +49,7 @@ abstract class VlcDialog<T : Dialog, B : ViewDataBinding> : DialogFragment() {
}
override fun onCreateDialog(savedInstanceState: Bundle?): android.app.Dialog {
retainInstance = true
val dialog = AppCompatDialog(activity, theme)
dialog.setCancelable(true)
dialog.setCanceledOnTouchOutside(true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment