Merge "Clarify FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET usage" into klp-modular-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
56bf2f670c
@@ -3538,6 +3538,11 @@ public class Intent implements Parcelable, Cloneable {
|
||||
* it will be finished so that the user does not return to them, but
|
||||
* instead returns to whatever activity preceeded it.
|
||||
*
|
||||
* <p>When this flag is assigned to the root activity all activities up
|
||||
* to, but not including the root activity, will be cleared. This prevents
|
||||
* this flag from being used to finish all activities in a task and thereby
|
||||
* ending the task.
|
||||
*
|
||||
* <p>This is useful for cases where you have a logical break in your
|
||||
* application. For example, an e-mail application may have a command
|
||||
* to view an attachment, which launches an image view activity to
|
||||
|
||||
Reference in New Issue
Block a user