commit | 99b6f4f5167e451e511f6954af699e7c303ac79b | [log] [tgz] |
---|---|---|
author | Tetsui Ohkubo <tetsui@google.com> | Mon Feb 10 12:54:19 2020 +0900 |
committer | Tetsui Ohkubo <tetsui@google.com> | Fri Feb 14 14:15:12 2020 +0900 |
tree | de89402e6569cf8cf8434d86138b3c1baf897bc9 | |
parent | 92439f88608cee84c5d678f9a0c44755651ba599 [diff] |
Fix SampleSpellChecker not working in TextView This CL fixes two bugs in SampleSpellChecker that prevented the sample spell checker from working in an actual TextView. 1. The order of constructor arguments for SentenceSuggestionsInfo() was wrong. 2. SuggestionsInfo always needs cookie and sequence attributes from TextInfo. Test: manual(Enable the spell checker from Android settings and type in a TextView) Bug: None Change-Id: Ie5c82c683b031d24bcde4a92e5e23f086d1934d6