diff options
author | 2011-01-05 00:39:41 +0900 | |
---|---|---|
committer | 2011-01-05 11:31:58 +0900 | |
commit | 458249e703bded3a1cbd25a2ab2249f9366a8188 (patch) | |
tree | 9a2f02ed25db681adb72e6ddf54049b3dc22291c /java/src/com/android/inputmethod/latin/Suggest.java | |
parent | a96574fdd5e38a237a35b21a2b7c20a29138c648 (diff) | |
download | latinime-458249e703bded3a1cbd25a2ab2249f9366a8188.tar.gz latinime-458249e703bded3a1cbd25a2ab2249f9366a8188.tar.xz latinime-458249e703bded3a1cbd25a2ab2249f9366a8188.zip |
Consolidate main dictionary files.
This change is a preparation for upcoming optimizations on dictionary file loading.
* We can consolidate dictionary files because we are no longer relying on Asset Manager.
* Stopping compressing dictionary files as planning to use mmap() on the region in the apk file.
* Probably we won't rely on Asset Manager. Instead we'll probably use offset and size obtained from AssetFileDescriptor.
Change-Id: Id57dce512fd3d2397a58628f8264bd824194da76
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Suggest.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Suggest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/Suggest.java b/java/src/com/android/inputmethod/latin/Suggest.java index 236590284..9f979fffd 100644 --- a/java/src/com/android/inputmethod/latin/Suggest.java +++ b/java/src/com/android/inputmethod/latin/Suggest.java @@ -103,7 +103,7 @@ public class Suggest implements Dictionary.WordCallback { private int mCorrectionMode = CORRECTION_BASIC; - public Suggest(Context context, int[] dictionaryResId) { + public Suggest(Context context, int dictionaryResId) { mMainDict = new BinaryDictionary(context, dictionaryResId, DIC_MAIN); initPool(); } |