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

Commit 27dca78e authored by Ben Murdoch's avatar Ben Murdoch Committed by Android (Google) Code Review
Browse files

Merge "Allow fractional and signed input for number fields."

parents bde7a61a 3882486d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1023,7 +1023,8 @@ import junit.framework.Assert;
                break;
            case NUMBER:
                // inputType needs to be overwritten because of the different class.
                inputType = InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_NORMAL;
                inputType = InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_NORMAL
                        | InputType.TYPE_NUMBER_FLAG_SIGNED | InputType.TYPE_NUMBER_FLAG_DECIMAL;
                // Number and telephone do not have both a Tab key and an
                // action, so set the action to NEXT
                imeOptions |= EditorInfo.IME_ACTION_NEXT;