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
This commit is contained in:
Vladislav Kaznacheev
2016-07-12 15:24:48 -07:00
parent 5b28589127
commit 9a44eaec53

View 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