From bffb092773a0f0edee2f7825154c442a6872a298 Mon Sep 17 00:00:00 2001 From: Jeff Chang Date: Fri, 25 Dec 2020 18:20:30 +0800 Subject: [PATCH] Updating Java doc for FLAG_ACTIVITY_RESET_TASK_IF_NEEDED The flag cooperate with these attributes for different behavior. Update document to also check these attributes for reference. Bug: 123083574 Test: build Change-Id: I163b711f429838dd39415fcc9bf60ca003b01180 --- core/java/android/content/Intent.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index d352b273f8823..6d36cbea69d25 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -6465,6 +6465,10 @@ public class Intent implements Parcelable, Cloneable { * any affinities needed to have that task in the proper state (either * moving activities to or from it), or simply resetting that task to * its initial state if needed. + * + * @see android.R.attr#allowTaskReparenting + * @see android.R.attr#clearTaskOnLaunch + * @see android.R.attr#finishOnTaskLaunch */ public static final int FLAG_ACTIVITY_RESET_TASK_IF_NEEDED = 0x00200000; /**