I have an AsyncTask that may need to dismiss a FragmentDialog upon successful completion. In a regular Activity, the dismissDialog() method correctly handled removing a dialog even if the app was in the background. However, using a FragmentActivity and a FragmentDialog, there is no equivalent approach that I can find. The compatibility library does not have dismissAllowingStateLoss() like the real DialogFragment class does. If someFragmentDialog.dismiss() is called while the app is in the background, I get a crash with an IllegalStateException.
What is the correct way to dismiss a FragmentDialog upon completion of an AsyncTask so that I don't get this exception? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

