From 2f0ecf982ab0a58f49fb497a7d4976481a97efae Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 18 Feb 2021 18:50:51 +0100 Subject: [PATCH] Prevent error dialog for gone fragment manager --- app/src/main/java/eu/faircode/email/FragmentDialogSearch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentDialogSearch.java b/app/src/main/java/eu/faircode/email/FragmentDialogSearch.java index fd59a93413..6364b7c98d 100644 --- a/app/src/main/java/eu/faircode/email/FragmentDialogSearch.java +++ b/app/src/main/java/eu/faircode/email/FragmentDialogSearch.java @@ -350,7 +350,7 @@ public class FragmentDialogSearch extends FragmentDialogBase { @Override protected void onException(Bundle args, Throwable ex) { - Log.unexpectedError(getParentFragmentManager(), ex); + Log.e(ex); } }.execute(getContext(), getViewLifecycleOwner(), getArguments(), "search:raw"); else