aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2010-09-16 20:03:35 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-09-16 20:03:35 -0700
commit29d8bde4de1408defbf380de077176c53b54e588 (patch)
tree5481ba91c7f155ce4a924caedc2caeb5a95b64fb /java/src
parent1476988ebbecbb44088423573a8311c97e4449dd (diff)
parent08f664fa6502c578d8793df1e4eb5fa6de84b04f (diff)
downloadlatinime-29d8bde4de1408defbf380de077176c53b54e588.tar.gz
latinime-29d8bde4de1408defbf380de077176c53b54e588.tar.xz
latinime-29d8bde4de1408defbf380de077176c53b54e588.zip
Merge "Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad." into gingerbread
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index ecfd41651..d9cd7276b 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -598,9 +598,10 @@ public class LatinIME extends InputMethodService
switch (attribute.inputType & EditorInfo.TYPE_MASK_CLASS) {
case EditorInfo.TYPE_CLASS_NUMBER:
case EditorInfo.TYPE_CLASS_DATETIME:
- mKeyboardSwitcher.setKeyboardMode(KeyboardSwitcher.MODE_SYMBOLS,
- attribute.imeOptions, enableVoiceButton);
- break;
+ // fall through
+ // NOTE: For now, we use the phone keyboard for NUMBER and DATETIME until we get
+ // a dedicated number entry keypad.
+ // TODO: Use a dedicated number entry keypad here when we get one.
case EditorInfo.TYPE_CLASS_PHONE:
mKeyboardSwitcher.setKeyboardMode(KeyboardSwitcher.MODE_PHONE,
attribute.imeOptions, enableVoiceButton);