Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 300362f2 authored by Ken Wakasa's avatar Ken Wakasa Committed by Android Git Automerger
Browse files

am 29d8bde4: Merge "Use the phone keyboard for NUMBER and DATETIME until we...

am 29d8bde4: Merge "Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad." into gingerbread

Merge commit '29d8bde4' into gingerbread-plus-aosp

* commit '29d8bde4':
  Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad.
parents 8ef27577 29d8bde4
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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);