diff options
| author | 2021-11-09 17:45:55 -0800 | |
|---|---|---|
| committer | 2021-12-06 12:42:53 -0800 | |
| commit | dd5ca6bf569dde5609e3f6eddaa3cc95e80e537f (patch) | |
| tree | 661c06f62029a47e5cfca2f68f22ba7ad90f6b25 /libs/hwui/ProfileData.cpp | |
| parent | fbfd734049a5efd404bb4b1728d5205bd34a2c13 (diff) | |
Make SuggestionRangeSpan public
when we have overlapped SuggestionSpans, the
range of text being replaced can change depends on
the number of suggestions in the SuggestionSpans, so
accessibility services need to know the text being replaced.
We send text change event with the before text doesn't have the
SuggestionRangeSpan and after text has the SuggestionRangeSpan,
so a11y services can inform the user about the text being
replaced.
Other ui toolkits like compose can convert their style indicating
text being replaced to SuggestionRangeSpan.
Bug: b/143378480
Test: tested the event is sent.
Change-Id: I6d0d33e46f7c8ac9dbcc177ab54718184e715fb6
Diffstat (limited to 'libs/hwui/ProfileData.cpp')
0 files changed, 0 insertions, 0 deletions