According to Android doc: (https://developer.android.com/reference/android/app/Activity.html#onSaveInstanceState(android.os.Bundle))
In Fragment, this method may be called at any time before onDestroy();
But in Activity, this method will be called before onStop() without guarantees against onPause()