aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-06-27 06:52:24 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-27 06:52:24 +0000
commitb9683c0b9c4d092d8f63ccdbd6d7ed138bdeb9d8 (patch)
treee011945f0b1c7c8f613c3a39cfd3425de5f58b58 /java/src/com/android/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java
parent1c07da6127e65bcac1e05383f925df4671c38051 (diff)
parentbd5192ae260c3f462c36d7eefe76d9517b3528d5 (diff)
downloadlatinime-b9683c0b9c4d092d8f63ccdbd6d7ed138bdeb9d8.tar.gz
latinime-b9683c0b9c4d092d8f63ccdbd6d7ed138bdeb9d8.tar.xz
latinime-b9683c0b9c4d092d8f63ccdbd6d7ed138bdeb9d8.zip
am bd5192ae: Merge "Add a relevant suggestion to period-checkable requests"
* commit 'bd5192ae260c3f462c36d7eefe76d9517b3528d5': Add a relevant suggestion to period-checkable requests
Diffstat (limited to 'java/src/com/android/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java')
-rw-r--r--java/src/com/android/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java b/java/src/com/android/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java
index db15c1cc6..be33f339d 100644
--- a/java/src/com/android/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java
+++ b/java/src/com/android/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java
@@ -258,7 +258,9 @@ public abstract class AndroidWordLevelSpellCheckerSession extends Session {
return new SuggestionsInfo(SuggestionsInfo.RESULT_ATTR_LOOKS_LIKE_TYPO
| SuggestionsInfo.RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS,
new String[] {
- TextUtils.join(Constants.STRING_SPACE, splitText) });
+ TextUtils.join(Constants.STRING_SPACE, splitText),
+ TextUtils.join(Constants.STRING_PERIOD_AND_SPACE,
+ splitText) });
}
}
return dictInfo.mDictionary.isValidWord(inText)