aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2010-09-16 23:23:45 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-16 23:23:45 -0700
commitef5f2102c59eb6d23601579ee2a0b1b13d76da0b (patch)
treea6fb12fa1b13b86e9a6dd4f9e7f50fe1cdaa9d58 /java/src
parent99a23923e60546a03c20aa8d0d30294043ff4806 (diff)
parent300362f20982974d07876dee01b4550b8e54d449 (diff)
downloadlatinime-ef5f2102c59eb6d23601579ee2a0b1b13d76da0b.tar.gz
latinime-ef5f2102c59eb6d23601579ee2a0b1b13d76da0b.tar.xz
latinime-ef5f2102c59eb6d23601579ee2a0b1b13d76da0b.zip
am 300362f2: am 29d8bde4: Merge "Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad." into gingerbread
Merge commit '300362f20982974d07876dee01b4550b8e54d449' * commit '300362f20982974d07876dee01b4550b8e54d449': 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 1aec980a4..7fa763c5e 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -597,9 +597,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);