diff options
-rw-r--r-- | core/java/android/webkit/WebTextView.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebTextView.java b/core/java/android/webkit/WebTextView.java index 68be08d..9e9cc7e 100644 --- a/core/java/android/webkit/WebTextView.java +++ b/core/java/android/webkit/WebTextView.java @@ -816,6 +816,9 @@ import java.util.ArrayList; int imeOptions = EditorInfo.IME_FLAG_NO_EXTRACT_UI | EditorInfo.IME_FLAG_NO_FULLSCREEN; switch (type) { + case 0: // NORMAL_TEXT_FIELD + imeOptions |= EditorInfo.IME_ACTION_GO; + break; case 1: // TEXT_AREA single = false; inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE @@ -851,6 +854,7 @@ import java.util.ArrayList; imeOptions |= EditorInfo.IME_ACTION_GO; break; default: + imeOptions |= EditorInfo.IME_ACTION_GO; break; } setHint(null); |