diff options
author | 2010-11-23 17:55:22 -0800 | |
---|---|---|
committer | 2010-11-24 00:16:00 -0800 | |
commit | 2c60d6e28ecf7d6f7e97a504ebfa97e286d931ed (patch) | |
tree | 675324b2b2a854aa3c974bf02834074df57739b3 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 6624fd873681160295fe4475aff54512ca905b98 (diff) | |
download | latinime-2c60d6e28ecf7d6f7e97a504ebfa97e286d931ed.tar.gz latinime-2c60d6e28ecf7d6f7e97a504ebfa97e286d931ed.tar.xz latinime-2c60d6e28ecf7d6f7e97a504ebfa97e286d931ed.zip |
Support dedicated number/date keyboard layout
Bug: 3009716
Change-Id: Idc12cc9d8ee4f5febfae4e11712e2aaca327a6ea
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 4989d8e3c..6554954ee 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -545,10 +545,8 @@ public class LatinIME extends InputMethodService switch (attribute.inputType & EditorInfo.TYPE_MASK_CLASS) { case EditorInfo.TYPE_CLASS_NUMBER: case EditorInfo.TYPE_CLASS_DATETIME: - // 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. + mode = KeyboardSwitcher.MODE_NUMBER; + break; case EditorInfo.TYPE_CLASS_PHONE: mode = KeyboardSwitcher.MODE_PHONE; break; |