Prevent crash

pull/212/head
M66B 2 years ago
parent bb2dac7b66
commit b7e7c8e988

@ -177,6 +177,15 @@ public class FragmentDialogBase extends DialogFragment {
}
}
@Override
public void dismiss() {
try {
super.dismiss();
} catch (Throwable ex) {
Log.e(ex);
}
}
@Override
public void onDismiss(@NonNull DialogInterface dialog) {
sendResult(RESULT_CANCELED);

Loading…
Cancel
Save