summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-06-04 15:50:05 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-06-04 15:50:05 -0700
commit12bba912238f305d385b30c278a4bdbb027b7a03 (patch)
tree5173367102754ca7ec404e8a8f9db2dfd32fcb0a /core
parent35c46680852268d6b7b51dadf3d5349d146ccdcd (diff)
parent88db3448cf334e5e216015e756f27aa1219c5408 (diff)
downloadframeworks_base-12bba912238f305d385b30c278a4bdbb027b7a03.zip
frameworks_base-12bba912238f305d385b30c278a4bdbb027b7a03.tar.gz
frameworks_base-12bba912238f305d385b30c278a4bdbb027b7a03.tar.bz2
Merge change 3238 into donut
* changes: Browser edit fields should report variation WEB_EDIT_TEXT.
Diffstat (limited to 'core')
-rw-r--r--core/java/android/webkit/TextDialog.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/webkit/TextDialog.java b/core/java/android/webkit/TextDialog.java
index 9de97c9..99de56d 100644
--- a/core/java/android/webkit/TextDialog.java
+++ b/core/java/android/webkit/TextDialog.java
@@ -538,7 +538,8 @@ import java.util.ArrayList;
* 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