From 08f664fa6502c578d8793df1e4eb5fa6de84b04f Mon Sep 17 00:00:00 2001
From: Ken Wakasa <kwakasa@google.com>
Date: Thu, 16 Sep 2010 19:28:14 +0900
Subject: [PATCH] Use the phone keyboard for NUMBER and DATETIME until we get a
 dedicated number entry keypad.

bug: 2992459
Change-Id: Ie597a68aa394c48e08a5d3fda19a0b613795b47b
---
 java/src/com/android/inputmethod/latin/LatinIME.java | 7 ++++---
 1 file 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 ecfd41651d..d9cd7276b9 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -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);
-- 
GitLab