diff options
| author | 2016-09-24 01:24:53 +0000 | |
|---|---|---|
| committer | 2016-09-24 01:24:53 +0000 | |
| commit | 68f8fe590f1c82e3bb62b3af324a4ec7951a1182 (patch) | |
| tree | f4af972c2851c60b049e99331c45125fd7a796e1 | |
| parent | d6ea8ba53a949c335b53f259da4c8e3bc8d58171 (diff) | |
| parent | 360031a9449c4def1e2692d73e1e2749b08c4694 (diff) | |
Adding compatibility note for drag/drop in N. am: 06b9b60c6d
am: 360031a944
Change-Id: Iaaaf125e0e58be896115eb94113170402627d4ef
| -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; |