From 9a44eaec5363f145142e542a2bc1c510886956e3 Mon Sep 17 00:00:00 2001 From: Vladislav Kaznacheev Date: Tue, 12 Jul 2016 15:24:48 -0700 Subject: [PATCH] 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 --- core/java/android/view/View.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.11.0