Announce effect of latest gesture via accessibility.
This change restores functionality of announcing cursor position via accessibility to users required audible cues, that use gestures to work with omnibox contents. The functionality is restored by using explicitly a single source of accessibility event announcemets for TEXT_CHANGED and TEXT_SELECTION_CHANGED. This helps us avoid sending multiple repeated accessibility events to AccessibilityManager, which in turn appears to be dropping them. These repeated events are originating from both SpannableAutocompleteEditTextModel and EditText itself, which makes it difficult to provide consistent and predictable behavior. This change replaces the above behavior, and introduces a single source of accessibility events instead: SpannableAutocompleteEditTextModel. Bug: 935785 Change-Id: I7358d268cc7f21e5a7ed28d9adc26f8e0adf31fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717783Reviewed-by:Theresa <twellington@chromium.org> Reviewed-by:
Changwan Ryu <changwan@chromium.org> Commit-Queue: Ender <ender@google.com> Cr-Commit-Position: refs/heads/master@{#688634}
Showing
Please register or sign in to comment