OSDN Git Service

if the cursor and focus don't match, match them on text view clicks
authorCary Clark <cary@android.com>
Tue, 15 Sep 2009 17:13:23 +0000 (13:13 -0400)
committerCary Clark <cary@android.com>
Tue, 15 Sep 2009 17:24:33 +0000 (13:24 -0400)
commitdb6d939d2bbf457b1caa5479a60dae5e90d023e1
tree639c7db7e6bc8e3606a11a5879f00ce3f9a99dbb
parentdf344375a93f3bfe0360f5436c0866f44b7fb6cc
if the cursor and focus don't match, match them on text view clicks

Call nativeMotionUp from touchUpOnTextField to move the
mouse cursor to the text field if necessary before moving
the text caret to the desired position.

Fixes http://b/issue?id=2075647
core/java/android/webkit/WebView.java