Skip to content

Commit f019595

Browse files
committed
Clarify documentation about when Activity#onCreateNavigateUpTaskStack
will be called. Bug 6427237 Change-Id: I5c41e4a694b39c03fd642586472838e2f9a0281d
1 parent fbbdbc2 commit f019595

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)