diff options
author | 2011-08-04 12:08:22 +0900 | |
---|---|---|
committer | 2011-08-04 19:46:21 +0900 | |
commit | 043f7841985916717f4fa821fe3e423daf3ff2f5 (patch) | |
tree | 422cc67f9dd5d35a8c148e8e226343783a12ce84 /java/src/com/android/inputmethod/deprecated | |
parent | 3889462439357fd76c0b82dfd52e1ca6e0bafd2d (diff) | |
download | latinime-043f7841985916717f4fa821fe3e423daf3ff2f5.tar.gz latinime-043f7841985916717f4fa821fe3e423daf3ff2f5.tar.xz latinime-043f7841985916717f4fa821fe3e423daf3ff2f5.zip |
Create a way to pass the proximity info to the dictionary
This is a preparative change for inserting the spell checker.
Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
Diffstat (limited to 'java/src/com/android/inputmethod/deprecated')
-rw-r--r-- | java/src/com/android/inputmethod/deprecated/recorrection/RecorrectionSuggestionEntries.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/deprecated/recorrection/RecorrectionSuggestionEntries.java b/java/src/com/android/inputmethod/deprecated/recorrection/RecorrectionSuggestionEntries.java index 5e6c87044..f33a46277 100644 --- a/java/src/com/android/inputmethod/deprecated/recorrection/RecorrectionSuggestionEntries.java +++ b/java/src/com/android/inputmethod/deprecated/recorrection/RecorrectionSuggestionEntries.java @@ -57,6 +57,7 @@ public class RecorrectionSuggestionEntries { private static SuggestedWords.Builder getTypedSuggestions( Suggest suggest, KeyboardSwitcher keyboardSwitcher, WordComposer word) { - return suggest.getSuggestedWordBuilder(keyboardSwitcher.getKeyboardView(), word, null); + return suggest.getSuggestedWordBuilder(keyboardSwitcher.getKeyboardView(), word, null, + keyboardSwitcher.getLatinKeyboard().getProximityInfo()); } } |