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 <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

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 [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

Reply via email to