commit | 480923781080335163c46cd6e8643f5d6a357f8b | [log] [tgz] |
---|---|---|
author | Qi Wang <zakwang@google.com> | Thu Mar 04 12:22:22 2021 +0800 |
committer | Qi Wang <zakwang@google.com> | Thu Mar 11 20:15:16 2021 +0800 |
tree | feb164d47b7057ea63f95b0c0673e635d4acf733 | |
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