commit | 291a0f96825889836864be4a066330be2ccede73 | [log] [tgz] |
---|---|---|
author | Kohsuke Yatoh <kyatoh@google.com> | Thu Oct 01 12:56:07 2020 -0700 |
committer | Kohsuke Yatoh <kyatoh@google.com> | Mon Oct 05 23:29:14 2020 -0700 |
tree | 5dcd925cbee36ca74adc57dbea0acc7a0a42f165 | |
parent | f2c9466eaa819654f6535f1b260493769ca116a3 [diff] |
Add API to differentiate grammar suggestions. The following attributes are added for grammar suggestions. - SuggestionSpan#FLAG_GRAMMAR_ERROR - SuggestionsInfo#RESULT_ATTR_LOOKS_LIKE_GRAMMAR_ERROR Bug: 166304720 Test: atest CtsInputMethodTestCases:SpellCheckerTest Change-Id: I0e5da3125d28bb881e513d0d69e0a2d336a9f286