commit | 55d1c5efabb7c3d1fd8d36507f73683213e3d443 | [log] [tgz] |
---|---|---|
author | satok <satok@google.com> | Wed Aug 03 15:47:28 2011 +0900 |
committer | satok <satok@google.com> | Wed Aug 03 18:42:56 2011 +0900 |
tree | 86f70c33661829b7439cedcc71c8383fc1e62bce | |
parent | 272dfe940df0e080f46dba887ba0613bee0cd534 [diff] |
Temporary don't use "looks type" for comming rename cl. Change-Id: If016a61f9e303b615c59c0035724256535aec817
diff --git a/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java b/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java index ae938ae..4a822d7 100644 --- a/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java +++ b/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java
@@ -39,7 +39,7 @@ String[] candidates1 = new String[] {text, "candidateA", "candidateB"}; final int textLength = textInfo.getText().length() % 3; if (textLength % 3 == 0) { - return new SuggestionsInfo(SuggestionsInfo.RESULT_ATTR_LOOKS_TYPO + return new SuggestionsInfo(2 | SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY, candidates0); } else if (textLength % 3 == 1) { return new SuggestionsInfo(SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY, candidates1);