summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Vladislav Kaznacheev <kaznacheev@google.com> 2016-07-12 15:24:48 -0700
committer Vladislav Kaznacheev <kaznacheev@google.com> 2016-07-12 15:24:48 -0700
commit9a44eaec5363f145142e542a2bc1c510886956e3 (patch)
treedd757f6a33a79bb635e45c283ab95b33c7032812
parent5b28589127afbd4eda622970f7c25bbf135db672 (diff)
Fix docs for View.DRAG_FLAG_GLOBAL
Document that cross-app drags only involve apps compiled for API 24 or later. Bug: 30076806 Change-Id: Ia630f4623c23d787b52692ff1f6475408cefa177
-rw-r--r--core/java/android/view/View.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index d4ac30076eaa..a64827af32c2 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -3744,7 +3744,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
/**
* Flag indicating that a drag can cross window boundaries. When
* {@link #startDragAndDrop(ClipData, DragShadowBuilder, Object, int)} is called
- * with this flag set, all visible applications will be able to participate
+ * with this flag set, all visible applications with targetSdkVersion >=
+ * {@link android.os.Build.VERSION_CODES#N API 24} will be able to participate
* in the drag operation and receive the dragged content.
*
* If this is the only flag set, then the drag recipient will only have access to text data