diff options
| author | Menny Even Danan <menny@evendanan.net> | 2017-02-05 21:32:25 +0000 |
|---|---|---|
| committer | Menny Even Danan <menny@evendanan.net> | 2017-02-05 21:42:16 +0000 |
| commit | db0eddff155f2a62437c12860209410143c0cc96 (patch) | |
| tree | 5e92045727f6cfe67dee99dd98ac0f9f8cc46e82 /jnidictionaryv1 | |
| parent | 5eba501164326be4f4289ca30d6dd6a9e61ff48c (diff) | |
| download | AnySoftKeyboard-db0eddff155f2a62437c12860209410143c0cc96.tar.gz AnySoftKeyboard-db0eddff155f2a62437c12860209410143c0cc96.tar.bz2 | |
refactoring TagsExtractor to support tags completions
Diffstat (limited to 'jnidictionaryv1')
| -rw-r--r-- | jnidictionaryv1/src/main/java/com/anysoftkeyboard/dictionaries/jni/BinaryDictionary.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jnidictionaryv1/src/main/java/com/anysoftkeyboard/dictionaries/jni/BinaryDictionary.java b/jnidictionaryv1/src/main/java/com/anysoftkeyboard/dictionaries/jni/BinaryDictionary.java index 8eb8672f5..f7c63d352 100644 --- a/jnidictionaryv1/src/main/java/com/anysoftkeyboard/dictionaries/jni/BinaryDictionary.java +++ b/jnidictionaryv1/src/main/java/com/anysoftkeyboard/dictionaries/jni/BinaryDictionary.java @@ -23,7 +23,7 @@ import android.support.annotation.NonNull; import android.util.Log; import com.anysoftkeyboard.base.dictionaries.Dictionary; -import com.anysoftkeyboard.base.dictionaries.WordComposer; +import com.anysoftkeyboard.base.dictionaries.KeyCodesProvider; import com.anysoftkeyboard.base.utils.CompatUtils; import java.io.FileDescriptor; @@ -72,7 +72,7 @@ public class BinaryDictionary extends Dictionary { private native int getSuggestionsNative(long dictPointer, int[] inputCodes, int codesSize, char[] outputChars, int[] frequencies, int maxWordLength, int maxWords, int maxAlternatives, int skipPos); @Override - public void getWords(final WordComposer codes, final WordCallback callback) { + public void getWords(final KeyCodesProvider codes, final WordCallback callback) { if (mNativeDict == 0 || isClosed()) return; final int codesSize = codes.length(); // Wont deal with really long words. |
