I'm confused why anyone would ever override Activity.onDestroy()
instead of onPause()
if according to the documentation:
There are situations where the system will simply kill the activity's hosting process without calling this method (or any others) in it,
I see much code that overrides onDestroy()
despite this warning. Why?