Skip to content

Commit 841a37a

Browse files
Mike CleronAndroid (Google) Code Review
authored andcommitted
Merge "Clarify documentation about when Activity#onCreateNavigateUpTaskStack will be called." into jb-dev
2 parents 03f2253 + f019595 commit 841a37a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/java/android/app/Activity.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2742,6 +2742,10 @@ public boolean onNavigateUpFromChild(Activity child) {
27422742
* may choose to override this method to construct the desired task stack in a different
27432743
* way.</p>
27442744
*
2745+
* <p>This method will be invoked by the default implementation of {@link #onNavigateUp()}
2746+
* if {@link #shouldUpRecreateTask(Intent)} returns true when supplied with the intent
2747+
* returned by {@link #getParentActivityIntent()}.</p>
2748+
*
27452749
* <p>Applications that wish to supply extra Intent parameters to the parent stack defined
27462750
* by the manifest should override {@link #onPrepareNavigateUpTaskStack(TaskStackBuilder)}.</p>
27472751
*

0 commit comments

Comments
 (0)