summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yorke Lee <yorkelee@google.com> 2016-06-24 22:10:46 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-06-24 22:10:47 +0000
commitc63710ea4849aba6d30807b7f38a122a6176aa49 (patch)
tree8c310b84a92c5e8d6e35900909aca948cab1f063
parentde383c75ebf37ede7817cf56ceb4f93abbb6bb83 (diff)
parentd092e3a4148bbffc19dd1feca6c2f3fcd16c196a (diff)
Merge "Update documentation for View.startDragAndDrop" into nyc-dev
-rw-r--r--core/java/android/view/View.java13
1 files changed, 11 insertions, 2 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index 5f6ee09bf2ac..d4ac30076eaa 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -20527,8 +20527,17 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
* to the target Views. For example, it can contain flags that differentiate between a
* a copy operation and a move operation.
* </p>
- * @param flags Flags that control the drag and drop operation. No flags are currently defined,
- * so the parameter should be set to 0.
+ * @param flags Flags that control the drag and drop operation. This can be set to 0 for no
+ * flags, or any combination of the following:
+ * <ul>
+ * <li>{@link #DRAG_FLAG_GLOBAL}</li>
+ * <li>{@link #DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION}</li>
+ * <li>{@link #DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION}</li>
+ * <li>{@link #DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION}</li>
+ * <li>{@link #DRAG_FLAG_GLOBAL_URI_READ}</li>
+ * <li>{@link #DRAG_FLAG_GLOBAL_URI_WRITE}</li>
+ * <li>{@link #DRAG_FLAG_OPAQUE}</li>
+ * </ul>
* @return {@code true} if the method completes successfully, or
* {@code false} if it fails anywhere. Returning {@code false} means the system was unable to
* do a drag, and so no drag operation is in progress.