Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc3dd0b7 authored by yingleiw's avatar yingleiw
Browse files

Send TYPE_VIEW_TEXT_CHANGED a11y event when SuggestionSpan is added

When user types space after a word, we receive a text
change event, but the suggestion span is not added to
the text yet. The spell checker adds the span after the
text change event is sent, but currently TextView doesn't send
any notification. This change sends a TYPE_VIEW_TEXT_CHANGED
event with the from and to index of the span, and beforeText
which doesn't have the span and afterText which has the
span.

Bug: b/143378480

Test: tested with talkback.

Change-Id: If16c2c578be5dcae20a9fd7014ff6fba2d487670
parent 62ddf061
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment