Merge "Clarify that getLocalState is always valid for DragEvent"
This commit is contained in:
committed by
Android (Google) Code Review
commit
d5ad2ff575
@@ -103,7 +103,7 @@ import com.android.internal.view.IDragAndDropPermissions;
|
||||
* <tr>
|
||||
* <td>ACTION_DRAG_ENDED</td>
|
||||
* <td style="text-align: center;"> </td>
|
||||
* <td style="text-align: center;"> </td>
|
||||
* <td style="text-align: center;">X</td>
|
||||
* <td style="text-align: center;"> </td>
|
||||
* <td style="text-align: center;"> </td>
|
||||
* <td style="text-align: center;"> </td>
|
||||
@@ -112,6 +112,7 @@ import com.android.internal.view.IDragAndDropPermissions;
|
||||
* </table>
|
||||
* <p>
|
||||
* The {@link android.view.DragEvent#getAction()},
|
||||
* {@link android.view.DragEvent#getLocalState()}
|
||||
* {@link android.view.DragEvent#describeContents()},
|
||||
* {@link android.view.DragEvent#writeToParcel(Parcel,int)}, and
|
||||
* {@link android.view.DragEvent#toString()} methods always return valid data.
|
||||
@@ -397,7 +398,7 @@ public class DragEvent implements Parcelable {
|
||||
* operation. In all other activities this method will return null
|
||||
* </p>
|
||||
* <p>
|
||||
* This method returns valid data for all event actions except for {@link #ACTION_DRAG_ENDED}.
|
||||
* This method returns valid data for all event actions.
|
||||
* </p>
|
||||
* @return The local state object sent to the system by startDragAndDrop().
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user