Fix error handling in android clear

There is a case in which we check for hint text and that removes the last bit of text in the field, but it comes back as an error. So check again for failure before reporting it back. Related to #3803.
why the strange spacing?