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.main
commit
ef5f2102c5
|
@ -597,9 +597,10 @@ public class LatinIME extends InputMethodService
|
||||||
switch (attribute.inputType & EditorInfo.TYPE_MASK_CLASS) {
|
switch (attribute.inputType & EditorInfo.TYPE_MASK_CLASS) {
|
||||||
case EditorInfo.TYPE_CLASS_NUMBER:
|
case EditorInfo.TYPE_CLASS_NUMBER:
|
||||||
case EditorInfo.TYPE_CLASS_DATETIME:
|
case EditorInfo.TYPE_CLASS_DATETIME:
|
||||||
mKeyboardSwitcher.setKeyboardMode(KeyboardSwitcher.MODE_SYMBOLS,
|
// fall through
|
||||||
attribute.imeOptions, enableVoiceButton);
|
// NOTE: For now, we use the phone keyboard for NUMBER and DATETIME until we get
|
||||||
break;
|
// a dedicated number entry keypad.
|
||||||
|
// TODO: Use a dedicated number entry keypad here when we get one.
|
||||||
case EditorInfo.TYPE_CLASS_PHONE:
|
case EditorInfo.TYPE_CLASS_PHONE:
|
||||||
mKeyboardSwitcher.setKeyboardMode(KeyboardSwitcher.MODE_PHONE,
|
mKeyboardSwitcher.setKeyboardMode(KeyboardSwitcher.MODE_PHONE,
|
||||||
attribute.imeOptions, enableVoiceButton);
|
attribute.imeOptions, enableVoiceButton);
|
||||||
|
|
Loading…
Reference in New Issue