mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 08:32:16 +01:00
Prevent crash
This commit is contained in:
@@ -27,10 +27,10 @@ public class FragmentDialogEx extends DialogFragment {
|
||||
public void show(@NonNull FragmentManager manager, @Nullable String tag) {
|
||||
try {
|
||||
super.show(manager, tag);
|
||||
} catch (IllegalStateException ex) {
|
||||
// Can not perform this action after onSaveInstanceState
|
||||
} catch (Throwable ex) {
|
||||
// IllegalStateException Can not perform this action after onSaveInstanceState
|
||||
// Should not happen, but still happened in AdapterMessage.onOpenLink
|
||||
Log.w(ex);
|
||||
Log.e(ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user