summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author jun.h.cho <jun.h.cho@samsung.com> 2020-06-02 13:59:15 +0900
committer Vishnu Nair <vishnun@google.com> 2020-06-18 07:55:15 -0700
commitc3540cc2f9c07e32c52e4ad16a182a7e7ed6b088 (patch)
tree40d187c4fe5a562c7ebc1fa9d4dc4587ebb7de12
parent26dfdc587fcaef5f68187b6bf1343fd7e2914d32 (diff)
Update Java doc for FLAG_ACTIVITY_LAUNCH_ADJACENT
The behavior of the adjacent flag is changed. It can be changed to split-screen mode if supported by the system. Fixes: 155050369 Test: n/a Change-Id: Ia19e0228442e7c8847d403ee2def841f1c0b712b
-rw-r--r--core/java/android/content/Intent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index be3cfeff729e..ededd0d2ea30 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -6445,7 +6445,7 @@ public class Intent implements Parcelable, Cloneable {
public static final int FLAG_ACTIVITY_RETAIN_IN_RECENTS = 0x00002000;
/**
- * This flag is only used in split-screen multi-window mode. The new activity will be displayed
+ * This flag is only used for 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}. Also, setting {@link #FLAG_ACTIVITY_MULTIPLE_TASK} is
* required if you want a new instance of an existing activity to be created.