The documentation on onSaveInstanceState()
states:
If the method is called, it is always called before onStop() and possibly before onPause().
But, I notice, consistently, from log messages that onPause()
is ALWAYS CALLED BEFORE onSaveInstanceState()
. I had put log messages in these two methods. Please help me understand in what circumstances does onSaveInstanceState()
is called before onPause()
.
Environment: Android v4.0 (API 14) + Eclipse v3.7.1 - Indigo.