when is onRestoreInstanceState called?
To answer your question, have a look at the android doc: https://developer.android.com/reference/android/app/Activity.html#onRestoreInstanceState(android.os.Bundle) It says that onRestoreInstanceState is called after onStart() method in the activity lifecycle.