Index: content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java b/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java |
index de898733b6ad434e185c7e27f1e56f8b5943e903..65958083eb8888ab89729cac576bbfd74be4458d 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java |
@@ -101,7 +101,8 @@ public class AdapterInputConnection extends BaseInputConnection { |
} else if (imeAdapter.getTextInputType() == ImeAdapter.sTextInputTypeNumber) { |
// Number |
outAttrs.inputType = InputType.TYPE_CLASS_NUMBER |
- | InputType.TYPE_NUMBER_VARIATION_NORMAL; |
+ | InputType.TYPE_NUMBER_VARIATION_NORMAL |
+ | InputType.TYPE_NUMBER_FLAG_DECIMAL; |
outAttrs.imeOptions |= EditorInfo.IME_ACTION_NEXT; |
} |
outAttrs.initialSelStart = Selection.getSelectionStart(mEditable); |