From c3540cc2f9c07e32c52e4ad16a182a7e7ed6b088 Mon Sep 17 00:00:00 2001 From: "jun.h.cho" Date: Tue, 2 Jun 2020 13:59:15 +0900 Subject: [PATCH] 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 --- core/java/android/content/Intent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index be3cfeff729eb..ededd0d2ea30e 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.