Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91b5fab9 authored by Amith Yamasani's avatar Amith Yamasani Committed by Gerrit Code Review
Browse files

Merge "Check if the Activity is finishing before showDialog()"

parents 3a271718 63c91f09
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -114,7 +114,8 @@ public class AccountSyncSettings extends AccountPreferenceBase {
                                } catch (AuthenticatorException e) {
                                    // handled below
                                }
                                if (failed) {
                                if (failed && getActivity() != null &&
                                        !getActivity().isFinishing()) {
                                    showDialog(FAILED_REMOVAL_DIALOG);
                                } else {
                                    finish();