summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Wale Ogunwale <ogunwale@google.com> 2016-03-14 19:27:38 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-03-14 19:27:39 +0000
commit0fbdab8397ecee12d04ec5f273e7277c74e020eb (patch)
treeac7e386f31079b2237037c75004501855b12dd3c
parent7c74ae040d2edf956d3ec943f146c5baa93af0eb (diff)
parent6bdf257d4343e4208071d52f2e1b639d9f3af52d (diff)
Merge "Added more info to FLAG_ACTIVITY_LAUNCH_ADJACENT documentation" into nyc-dev
-rw-r--r--core/java/android/content/Intent.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index 09fa5e11829b..182475ff6da4 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -4560,7 +4560,8 @@ public class Intent implements Parcelable, Cloneable {
/**
* This flag is only used in split-screen multi-window mode. The new activity will be displayed
* adjacent to the one launching it. This can only be used in conjunction with
- * {@link #FLAG_ACTIVITY_NEW_TASK}.
+ * {@link #FLAG_ACTIVITY_NEW_TASK}. Also, setting {@link #FLAG_ACTIVITY_MULTIPLE_TASK} is
+ * required if you want a new instance of an existing activity to be created.
*/
public static final int FLAG_ACTIVITY_LAUNCH_ADJACENT = 0x00001000;