Thanks Dianne,
I'm still not sure what to do about it though.  I often dont have the
reference to the dialog in onDestroy().

A lot of people have had trouble with this.  Rotating dialogs
shouldn't be this difficult.


On Nov 8, 2:41 pm, Dianne Hackborn <hack...@android.com> wrote:
> This is definitely an error -- if you are getting the report, the user saw
> an app crash dialog, and explicitly asked it to report the error to you.
>
> This is probably a good example of why android:configChanges is dangerous --
> it can hide real errors by making them less likely to be seen.  In this
> case, if you were doing this to take care of such errors about dialogs being
> closed, this wouldn't be fixing a problem but just making it less likely to
> be seen.
>
> Generally what is happening in such an error is that the app is dismissing a
> dialog after its containing activity has been destroyed.  This could be
> because of it being restarted due to a config change, or could just as well
> be it being destroyed after the user pressed back to finish it.  In either
> case, you should make sure to dismiss such dialogs yourself before the
> activity is destroyed.
>
>
>
> On Mon, Nov 8, 2010 at 2:02 PM, ClarkBattle <clarkbat...@gmail.com> wrote:
> > There are about 10 different dialogs and they are are all a little
> > different.  I have no idea which one it is coming from.
>
> > I think this is a non-error.  Dismissing a dialog that has already
> > been destroyed by android is not really a problem.
>
> > I'll just try-catch the exception at every dialog.dismiss().
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to