mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Prevent crash
This commit is contained in:
@@ -12,6 +12,15 @@ import static android.app.Activity.RESULT_CANCELED;
|
||||
public class DialogFragmentEx extends DialogFragment {
|
||||
private boolean once = false;
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
try {
|
||||
super.onStart();
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDismiss(@NonNull DialogInterface dialog) {
|
||||
sendResult(RESULT_CANCELED);
|
||||
|
||||
Reference in New Issue
Block a user