aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2010-09-16 22:15:41 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-16 22:15:41 -0700
commit300362f20982974d07876dee01b4550b8e54d449 (patch)
tree5481ba91c7f155ce4a924caedc2caeb5a95b64fb /java/src
parent8ef27577da17f4203db00d5df96c3d2ed32ac713 (diff)
parent29d8bde4de1408defbf380de077176c53b54e588 (diff)
downloadlatinime-300362f20982974d07876dee01b4550b8e54d449.tar.gz
latinime-300362f20982974d07876dee01b4550b8e54d449.tar.xz
latinime-300362f20982974d07876dee01b4550b8e54d449.zip
am 29d8bde4: Merge "Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad." into gingerbread
Merge commit '29d8bde4de1408defbf380de077176c53b54e588' into gingerbread-plus-aosp * commit '29d8bde4de1408defbf380de077176c53b54e588': Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad.
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);