OSDN Git Service

Fix if ACTION_DOWN and lost focus time too close, it will become long press.
authorTony Wu <Tony_Wu@acer.com.tw>
Mon, 13 Sep 2010 11:54:00 +0000 (19:54 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 5 Aug 2011 08:09:42 +0000 (16:09 +0800)
commit3f46955bd5fc79bbf67c90203c269858d9218655
treeb4d09c8809070731fd494415b6f2442fef27b5df
parent2a96cc14650f433a223ec6c11c07d4dbfd262881
Fix if ACTION_DOWN and lost focus time too close, it will become long press.

It will become long press because CheckForTap is still posted in background.
So remove the callback when lose focus, or it will become long press event.

Change-Id: I4f98a6fc077d256edbe555464095b2b81e75dd41
core/java/android/view/View.java