summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebTextView.java
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2012-02-15 13:26:01 -0800
committerGeorge Mount <mount@google.com>2012-02-22 11:25:59 -0800
commit0b2cfd8cb168481dbdc674e066e477bc555c9d32 (patch)
tree591566f8d3bee850ca305b508d3be5495e4d6e6a /core/java/android/webkit/WebTextView.java
parentd3fcaa4504034e54b14c4f0413c17b30491a318e (diff)
Use input type for IME options.
Bug 5987568 Get the text type from webkit when initializing the field for text entry and use that type to specify the IME input type and options. Webkit Change: I7eceafdbede8b7b463590a2e875a237241479ad1 Change-Id: Ic8c14687a70727148dfc8115c46f09530ca0c0f6
Diffstat (limited to 'core/java/android/webkit/WebTextView.java')
-rw-r--r--core/java/android/webkit/WebTextView.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/java/android/webkit/WebTextView.java b/core/java/android/webkit/WebTextView.java
index 2b59b80cd889..510c1685bcae 100644
--- a/core/java/android/webkit/WebTextView.java
+++ b/core/java/android/webkit/WebTextView.java
@@ -160,14 +160,14 @@ import java.util.ArrayList;
private MyResultReceiver mReceiver;
// Types used with setType. Keep in sync with CachedInput.h
- private static final int NORMAL_TEXT_FIELD = 0;
- private static final int TEXT_AREA = 1;
- private static final int PASSWORD = 2;
- private static final int SEARCH = 3;
- private static final int EMAIL = 4;
- private static final int NUMBER = 5;
- private static final int TELEPHONE = 6;
- private static final int URL = 7;
+ static final int NORMAL_TEXT_FIELD = 0;
+ static final int TEXT_AREA = 1;
+ static final int PASSWORD = 2;
+ static final int SEARCH = 3;
+ static final int EMAIL = 4;
+ static final int NUMBER = 5;
+ static final int TELEPHONE = 6;
+ static final int URL = 7;
private static final int AUTOFILL_FORM = 100;
private Handler mHandler;