OSDN Git Service

Implement View.cancelDrag
authorVladislav Kaznacheev <kaznacheev@google.com>
Thu, 5 Nov 2015 23:02:24 +0000 (15:02 -0800)
committerVladislav Kaznacheev <kaznacheev@google.com>
Tue, 17 Nov 2015 22:39:21 +0000 (14:39 -0800)
commit93cf731b26e2ab4db49bd80f60675b03e40512f3
treee7aa1685879361cb981b1c5d1f8b82d0d52be9a0
parenta87401054fc6960c4b0ac2d361ddbcf415350b33
Implement View.cancelDrag

View.cancelDrag cancels a drag operation initiated by
View.startDrag.

It has to be called on a View in the same window (under the
same ViewRootImpl) that the view which started the drag.

Bug: 24415683
Change-Id: Iae5ff3534b6c747ae174f170fdd01ff4d3b1c312
api/current.txt
api/system-current.txt
core/java/android/view/IWindowSession.aidl
core/java/android/view/View.java
core/java/android/view/ViewRootImpl.java
services/core/java/com/android/server/wm/Session.java