[Passwords] Set TYPE_TEXT_VARIATION_VISIBLE_PASSWORD on the text view
This patch means using font that allows to distinguish otherwise indistinguishable characters. e.g between O and 0 or l and 1. For this one, fonts that are applied on different platforms: macOS - Menlo Windows - Consolas Chrome OS - DejaVu Sans Mono Linux - DejaVu Sans Mono while Roboto Mono is not among the TextAppearances that Chrome on Android specifies, we can use InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD on the text view to get a similar result. Bug: 768825 Change-Id: I87146a61a8d8d681f04cbe69fd9403327f1c21c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2490325 Commit-Queue: Jaeyong Bae <jdragon.bae@gmail.com> Reviewed-by:Ioana Pandele <ioanap@chromium.org> Cr-Commit-Position: refs/heads/master@{#822018}
Showing
Please register or sign in to comment