Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0195951 authored by Adam Powell's avatar Adam Powell
Browse files

Clarify documentation about when Activity#onCreateNavigateUpTaskStack

will be called.

Bug 6427237

Change-Id: I5c41e4a694b39c03fd642586472838e2f9a0281d
parent fbbdbc2d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2742,6 +2742,10 @@ public class Activity extends ContextThemeWrapper
     * may choose to override this method to construct the desired task stack in a different
     * way.</p>
     *
     * <p>This method will be invoked by the default implementation of {@link #onNavigateUp()}
     * if {@link #shouldUpRecreateTask(Intent)} returns true when supplied with the intent
     * returned by {@link #getParentActivityIntent()}.</p>
     *
     * <p>Applications that wish to supply extra Intent parameters to the parent stack defined
     * by the manifest should override {@link #onPrepareNavigateUpTaskStack(TaskStackBuilder)}.</p>
     *