When an activity is *finishing*, the onDestroy will be called.

The documentation states that onPause is guaranteed to be called, but not 
the onDestroy in case an activity is part of a process that is about to be 
killed:
Apps with foreground activities won't be killed --> onPause will be called, 
because just before onPause, the activity is in the foreground.
After the call to onPause, the activity is in the background. It is possible 
that it will be stopped (onStop) and stay there, until the process is killed 
--> onDestroy is never called.

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