From d8ee809ac2131be89ed6efb19912bfb704dceb6c Mon Sep 17 00:00:00 2001 From: Tony Mantler Date: Wed, 25 Sep 2013 11:24:55 -0700 Subject: [PATCH] Make sure the account check dialog doesn't outlive the account check fragment b/10918608 Change-Id: I65725b8935b2902ff926ba333cd41a3c1545f332 --- .../email/activity/setup/AccountCheckSettingsFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/android/email/activity/setup/AccountCheckSettingsFragment.java b/src/com/android/email/activity/setup/AccountCheckSettingsFragment.java index ce37d4d66..2b786b5ff 100644 --- a/src/com/android/email/activity/setup/AccountCheckSettingsFragment.java +++ b/src/com/android/email/activity/setup/AccountCheckSettingsFragment.java @@ -193,6 +193,8 @@ public class AccountCheckSettingsFragment extends Fragment { Utility.cancelTaskInterrupt(mAccountCheckTask); mAccountCheckTask = null; } + // Make doubly sure that the dialog is gone before we're removed from the fragment manager + recoverAndDismissCheckingDialog(); } /**