I am facing this issue with Samsung S4 devices only. Here is my code,
edtPasscode = (EditText) findViewById(R.id.edtPasscode);
edtPasscode.setInputType(InputType.TYPE_CLASS_TEXT
| InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS
| InputType.TYPE_TEXT_FLAG_CAP_WORDS
| InputType.TYPE_TEXT_FLAG_CAP_SENTENCES
| InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS
| InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD);
The above code works on all other models, but doesn't work on S4 devices alone. I verified it on two Samsung S4 devices running 4.4.4 and 5.0.1. Both has the same issue. Any help is appreciated.
Here is a screenshot,
Well, after a long struggle, I just found that, it has nothing to do with the code. It's actually the keypad settings that needs to be changed. From Settings->Language and Input->Enable Auto Capitalize option
This seems to be a odd behavior on samsung S4 in my opinion.