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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user