OSDN Git Service

Fix docs for View.DRAG_FLAG_GLOBAL
authorVladislav Kaznacheev <kaznacheev@google.com>
Tue, 12 Jul 2016 22:24:48 +0000 (15:24 -0700)
committerVladislav Kaznacheev <kaznacheev@google.com>
Tue, 12 Jul 2016 22:24:48 +0000 (15:24 -0700)
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

index d4ac300..a64827a 100644 (file)
@@ -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