diff options
| author | 2016-09-24 01:07:21 +0000 | |
|---|---|---|
| committer | 2016-09-24 01:07:24 +0000 | |
| commit | 6b4a9f6d541266f585cc40ccb2fa58ab37570a34 (patch) | |
| tree | 8bee84066942e95707d564c57ab547fadf37aaca | |
| parent | 83479600cb524f677ce7e547e711000daed547ee (diff) | |
| parent | 06b9b60c6dc7c3c4ed65e64a8151d6cff618cffa (diff) | |
Merge "Adding compatibility note for drag/drop in N." into nyc-mr1-dev
| -rw-r--r-- | core/java/android/os/Build.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java index 3d3dc9cc3418..151239bed02b 100644 --- a/core/java/android/os/Build.java +++ b/core/java/android/os/Build.java @@ -709,6 +709,14 @@ public class Build { * {@link android.widget.LinearLayout.LayoutParams LinearLayout.LayoutParams} to * {@link android.widget.RelativeLayout.LayoutParams RelativeLayout.LayoutParams}).</li> * <li>Your application processes will not be killed when the device density changes.</li> + * <li>Drag and drop. After a view receives the + * {@link android.view.DragEvent#ACTION_DRAG_ENTERED} event, when the drag shadow moves into + * a descendant view that can accept the data, the view receives the + * {@link android.view.DragEvent#ACTION_DRAG_EXITED} event and won’t receive + * {@link android.view.DragEvent#ACTION_DRAG_LOCATION} and + * {@link android.view.DragEvent#ACTION_DROP} events while the drag shadow is within that + * descendant view, even if the descendant view returns <code>false</code> from its handler + * for these events.</li> * </ul> */ public static final int N = 24; |