Skip to content

Commit

Permalink
Merge pull request #7065 from ashcoding/TIMOB-12246
Browse files Browse the repository at this point in the history
[TIMOB-12246] Fixed TextField with KEYBOARD_DECIMAL_PAD doesn't allow…
  • Loading branch information
ashcoding committed Aug 25, 2015
2 parents 9dfef4d + 8bc43be commit 6a05694
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ protected char[] getAcceptedChars()
textTypeAndClass |= InputType.TYPE_TEXT_VARIATION_URI;
break;
case KEYBOARD_DECIMAL_PAD:
textTypeAndClass |= (InputType.TYPE_NUMBER_FLAG_DECIMAL | InputType.TYPE_NUMBER_FLAG_SIGNED);
textTypeAndClass = (InputType.TYPE_NUMBER_FLAG_DECIMAL | InputType.TYPE_NUMBER_FLAG_SIGNED);
case KEYBOARD_NUMBER_PAD:
tv.setKeyListener(DigitsKeyListener.getInstance(true, true));
textTypeAndClass |= InputType.TYPE_CLASS_NUMBER;
Expand Down

0 comments on commit 6a05694

Please sign in to comment.