Does Switching off the Android Phone destroys the activity?
I was playing with the activity life cycle today. I had logged all the lifecycle methods. I was on the MainActivity and then switched off the phone suddenly. I noticed 2 methods being called:
onPause,
onStop,
but onDestroy never got called.
Any take on this?