OSDN Git Service

Up motion event not injected by the touch explorer at the end of a drag.
authorSvetoslav Ganov <svetoslavganov@google.com>
Tue, 2 Oct 2012 21:16:08 +0000 (14:16 -0700)
committerSvetoslav Ganov <svetoslavganov@google.com>
Tue, 2 Oct 2012 21:33:27 +0000 (14:33 -0700)
commitaeb8d0ed0d98d398a66a092c418f4f2bca8719e0
treef2205d1c13a56ac161e19c19bf3f7a16dd9c7484
parent0944d625448209185452eb4e800daec49de51986
Up motion event not injected by the touch explorer at the end of a drag.

1. The up event was not injected when the last pointer went up, i.e.
   at the end of the drag. This patch sends an up event if the dragging
   pointer goes up for both cases, when the dragging pointer goes up
   first and when it goes up second.

bug:7272830

Change-Id: I708a2b93ee2d0a4c46dbeea002841666e919602d
services/java/com/android/server/accessibility/TouchExplorer.java