am 12bba912: Merge change 3238 into donut
Merge commit '12bba912238f305d385b30c278a4bdbb027b7a03'
* commit '12bba912238f305d385b30c278a4bdbb027b7a03':
Browser edit fields should report variation WEB_EDIT_TEXT.
diff --git a/core/java/android/webkit/WebTextView.java b/core/java/android/webkit/WebTextView.java
index ed2d557..4a8fa3c 100644
--- a/core/java/android/webkit/WebTextView.java
+++ b/core/java/android/webkit/WebTextView.java
@@ -511,7 +511,8 @@
* removing the password input type.
*/
public void setSingleLine(boolean single) {
- int inputType = EditorInfo.TYPE_CLASS_TEXT;
+ int inputType = EditorInfo.TYPE_CLASS_TEXT
+ | EditorInfo.TYPE_TEXT_VARIATION_WEB_EDIT_TEXT;
if (!single) {
inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE
| EditorInfo.TYPE_TEXT_FLAG_CAP_SENTENCES