diff options
| author | 2019-07-18 21:37:36 +0000 | |
|---|---|---|
| committer | 2019-08-02 15:43:33 +0000 | |
| commit | 4fbcec13a0947ea73d3dc474558b6152802ac6bf (patch) | |
| tree | 003d6de77442e37b5d380622a8a55c7a9e236f65 | |
| parent | daeb1bb86376d7dd54c126acdbef4f01a0cb4582 (diff) | |
docs: Clarified when onRestoreInstanceState() executes
This method executes only after onDestroy() is called.
Change-Id: I4880cc98ea08945f30b16baa7ae400a5bbe3e439
Test: make ds-docs
Bug: 136241777
| -rw-r--r-- | core/java/android/app/Activity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index dc52c52cca1f..f5b0b592e6a7 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -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}. * |