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

Dismiss adv options on pause

Prevents IndexOutOfBoundsException
parent eeafef9b
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,12 @@ public class AdvOptionsDialog extends DialogFragment implements View.OnClickList
setStyle(DialogFragment.STYLE_NO_FRAME, mTheme);
}
@Override
public void onPause() {
super.onPause();
dismiss();
}
@Override
public void onAttach(Activity activity) {
super.onAttach(activity);
......
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