mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad.
bug: 2992459 Change-Id: Ie597a68aa394c48e08a5d3fda19a0b613795b47b
This commit is contained in:
parent
809bef520b
commit
08f664fa65
@ -598,9 +598,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
Block a user