Skip to content
Snippets Groups Projects
Commit 428b402c authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Prevent dialog dismiss if fragment is paused

(cherry picked from commit 5d2a62f3)
parent 90500e42
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,12 @@ public abstract class VlcDialog<T extends Dialog, B extends android.databinding.
}
public void onCancel(View v) {
dismiss();
}
@Override
public void dismiss() {
if (isResumed())
dismiss();
super.dismiss();
}
}
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