docs: Clarified when onRestoreInstanceState() executes

This method executes only after onDestroy() is called.

Change-Id: I4880cc98ea08945f30b16baa7ae400a5bbe3e439
Test: make ds-docs
Bug: 136241777
This commit is contained in:
Kevin Hufnagle
2019-07-18 21:37:36 +00:00
parent daeb1bb863
commit 4fbcec13a0

View File

@@ -1547,7 +1547,9 @@ public class Activity extends ContextThemeWrapper
* had previously been frozen by {@link #onSaveInstanceState}.
*
* <p>This method is called between {@link #onStart} and
* {@link #onPostCreate}.
* {@link #onPostCreate}. This method is called only when recreating
* an activity; the method isn't invoked if {@link #onStart} is called for
* any other reason.</p>
*
* @param savedInstanceState the data most recently supplied in {@link #onSaveInstanceState}.
*