Prevent announcing hint text twice.
Android TextView populates the text with hint text if the text is empty. This invokes ChromeVox reads hint text twice. This CL uses SHOWING_HINT_TEXT value to prevent it. Bug: b/151060876 Test: unit_tests --gtest_filter="AXTreeSourceArcTest.*" Test: manual. talkback test app "Text Fields" section. Change-Id: I273907edf8a6d62558fe3af09819daac560a65fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2094422 Commit-Queue: Hiroki Sato <hirokisato@chromium.org> Reviewed-by:David Tseng <dtseng@chromium.org> Reviewed-by:
Sara Kato <sarakato@chromium.org> Cr-Commit-Position: refs/heads/master@{#749469}
Showing
Please register or sign in to comment