diff options
author | Leon Scroggins <scroggo@google.com> | 2009-10-23 11:49:03 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2009-10-23 11:49:03 -0400 |
commit | 1d96ca06d83ef87544a7053ab6c19b3b8233ae4b (patch) | |
tree | 5961ae7c8709330dfd9da689f287320ee468c2ba /core/java/android/webkit/WebTextView.java | |
parent | 1d60c5c16b92ddc64d10f13da8af7faaae22cd2f (diff) | |
download | frameworks_base-1d96ca06d83ef87544a7053ab6c19b3b8233ae4b.zip frameworks_base-1d96ca06d83ef87544a7053ab6c19b3b8233ae4b.tar.gz frameworks_base-1d96ca06d83ef87544a7053ab6c19b3b8233ae4b.tar.bz2 |
Show the soft keyboard when pressing center key/trackball on input field
Fixes http://b/issue?id=2210234
Consolidate center key/trackball presses on input fields, and show
soft keyboard if the field is not readonly. Also rename the method
for a center press, and pass a click rather than a touch. Requires
a change in external/webkit.
Diffstat (limited to 'core/java/android/webkit/WebTextView.java')
-rw-r--r-- | core/java/android/webkit/WebTextView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/webkit/WebTextView.java b/core/java/android/webkit/WebTextView.java index db117f7..4fafb65 100644 --- a/core/java/android/webkit/WebTextView.java +++ b/core/java/android/webkit/WebTextView.java @@ -188,7 +188,7 @@ import java.util.ArrayList; } // Center key should be passed to a potential onClick if (!down) { - mWebView.shortPressOnTextField(); + mWebView.centerKeyPressOnTextField(); } // Pass to super to handle longpress. return super.dispatchKeyEvent(event); |