diff options
author | 2013-08-28 03:47:59 -0700 | |
---|---|---|
committer | 2013-08-28 03:47:59 -0700 | |
commit | eae44530e2423f7af3f9ddbc16d49ec7db921c13 (patch) | |
tree | 25803069f26ff4bc9827b7a7b31a602ab6c24576 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 137572f00696d442c62df8250a791ed50c096fca (diff) | |
parent | fe87f5f41744a633a2ed91af9b171bda2637649e (diff) | |
download | latinime-eae44530e2423f7af3f9ddbc16d49ec7db921c13.tar.gz latinime-eae44530e2423f7af3f9ddbc16d49ec7db921c13.tar.xz latinime-eae44530e2423f7af3f9ddbc16d49ec7db921c13.zip |
am fe87f5f4: Pass additionalFeaturesOptions for getSuggestions().
* commit 'fe87f5f41744a633a2ed91af9b171bda2637649e':
Pass additionalFeaturesOptions for getSuggestions().
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 85001c30c..de4baf948 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -2323,6 +2323,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen // whatever is *before* the half-committed word in the buffer, hence 2; if we aren't, we // should just skip whitespace if any, so 1. final SettingsValues currentSettings = mSettings.getCurrent(); + final int[] additionalFeaturesOptions = currentSettings.mAdditionalFeaturesSettingValues; final String prevWord; if (currentSettings.mCurrentLanguageHasSpaces) { // If we are typing in a language with spaces we can just look up the previous @@ -2335,7 +2336,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen } return suggest.getSuggestedWords(mWordComposer, prevWord, keyboard.getProximityInfo(), currentSettings.mBlockPotentiallyOffensive, - currentSettings.mCorrectionEnabled, sessionId); + currentSettings.mCorrectionEnabled, additionalFeaturesOptions, sessionId); } private SuggestedWords getSuggestedWordsOrOlderSuggestions(final int sessionId) { |