I use an EditText widget to get user input which is sensitive, i.e., the input should not be stored for auto-completion lateron.
In the code I tried several combinations of
setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
or
setInputType(InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD);
or even both.
It works on almost all my test devices, except several Samsung phones and a single Sony device. For example on the Samsung Galaxy 4 the mechanism works as expceted, but the Samsung S3 ignores the EditText's configuration and presents the sensitive input for auto-completion lateron. Of course, Google's documentation does not give any information about how to reliably disable the auto-completion cache for an EditText. Any idea why this works for some devices but not for other devices? Thanks.