OSDN Git Service

Fixes context-menu trigger behavior after scroll in TextView
authorMaryam Garrett <mkamvar@google.com>
Fri, 11 Dec 2009 18:52:06 +0000 (13:52 -0500)
committerMaryam Garrett <mkamvar@google.com>
Mon, 14 Dec 2009 19:42:25 +0000 (14:42 -0500)
commit39f0efba92a4420f77e3abc53c367ea3cacde3cf
treecc42c5065bdbc2f2e8d57313f102982af89c49f2
parentba8e4d240b3d5eaebbdba9351b247ac20bedadc5
Fixes context-menu trigger behavior after scroll in TextView

This change fixes the context menu trigger behavior while
the user is selecting via touch. How if a user is selecting
text via dragging their finger, to trigger the context menu
they will have to lift their finger up, then issue a
longpress. This is consistent with the behavior of selecting
via the trackball.
core/java/android/text/method/ArrowKeyMovementMethod.java
core/java/android/view/View.java