OSDN Git Service

don't start long press when selecting text
authorCary Clark <cary@android.com>
Fri, 18 Feb 2011 16:30:12 +0000 (11:30 -0500)
committerCary Clark <cary@android.com>
Fri, 18 Feb 2011 17:10:08 +0000 (12:10 -0500)
commit43f608f928cec782f0f7dad248f4430fe2581016
tree836291cdd0eb449f0fcb281606257119ea489c9b
parent42509799f261c844bf6be66ce630c47bdee620f3
don't start long press when selecting text

The timers to initiate short press and long press shouldn't
be started if text is selected. Since these presses won't
provide any feedback (e.g., the context menu doesn't show
up), with them disabled, the long press can turn into a
drag.

bug:3440375
Change-Id: I019796334a8f3090922747ae3c9e21d3b87b4a3c
core/java/android/webkit/WebView.java