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

Fix VlcDialog crash on orientation change

(cherry picked from commit 1d82c851)
parent a6bbbabb
No related branches found
No related tags found
Loading
......@@ -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