diff options
| author | Leon Scroggins <scroggo@google.com> | 2010-03-01 11:20:31 -0500 |
|---|---|---|
| committer | Leon Scroggins <scroggo@google.com> | 2010-03-01 12:50:12 -0500 |
| commit | 1be40985283e77d3fc5d98268f9f6453bcc7223e (patch) | |
| tree | a0b7d5f35a2ea3b3c912e988736e53081ab57d62 /core/java/android/webkit/WebView.java | |
| parent | b4e193991f9efc74978c004bcd9463cc5e85250c (diff) | |
Make nativeMoveCursorToNextInput return a boolean and use it.
If nativeMoveCursorToNextTextInput does not succeed, do not set the
default selection or perform the other actions which assumed that the
move worked.
Part of fix for http://b/issue?id=2478052
Requires a change to external/webkit.
Diffstat (limited to 'core/java/android/webkit/WebView.java')
| -rw-r--r-- | core/java/android/webkit/WebView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index d29d6f378274..897bd75fe1aa 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -6807,7 +6807,7 @@ public class WebView extends AbsoluteLayout private native void nativeHideCursor(); private native String nativeImageURI(int x, int y); private native void nativeInstrumentReport(); - /* package */ native void nativeMoveCursorToNextTextInput(); + /* package */ native boolean nativeMoveCursorToNextTextInput(); // return true if the page has been scrolled private native boolean nativeMotionUp(int x, int y, int slop); // returns false if it handled the key |
