diff options
author | Qi Wang <zakwang@google.com> | 2021-03-04 12:22:22 +0800 |
---|---|---|
committer | Qi Wang <zakwang@google.com> | 2021-03-11 20:15:16 +0800 |
commit | 480923781080335163c46cd6e8643f5d6a357f8b (patch) | |
tree | feb164d47b7057ea63f95b0c0673e635d4acf733 /tools/aapt2/diff/Diff.cpp | |
parent | 82c4e19e6d51521a139e966390575b98a4e922fa (diff) |
Respect sentence boundary when doing spell check.
Introduces SentenceIterator into android.widget.SpellChecker and
uses it to detect the start/end of spell check range instead of
using a fixed length.
Fix: 179125303
Fix: 179124679
Test: atest CtsInputMethodTestCases:SpellCheckerTest
Change-Id: If6dd044e24dcaa58381949c221a5f9af57a4104f
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions