diff options
author | 2011-04-20 16:52:07 +0900 | |
---|---|---|
committer | 2011-04-20 17:31:59 +0900 | |
commit | c899038eee5c01d520a2707cca01ee093a674d05 (patch) | |
tree | c656553da022c51fcb10e6b149928a167a3b2ea2 /tests/src/com/android/inputmethod/latin/SuggestHelper.java | |
parent | b1ae5d84b1bcb0e8c18e80a4ca13a81d9c9c2772 (diff) | |
download | latinime-c899038eee5c01d520a2707cca01ee093a674d05.tar.gz latinime-c899038eee5c01d520a2707cca01ee093a674d05.tar.xz latinime-c899038eee5c01d520a2707cca01ee093a674d05.zip |
Move language-specific keyboard setting to resources.
Some flag settings used to be stored in a keyboard layout extravalue setting. This
change:
- Introduces the capability of setting such specific flags in values/config.xml
- Retains the ability to use extravalues (for layout-specific settings), though
there is no more any such setting at the moment.
- Fixes a bug where loading a dictionary from outside does not initialize the flags.
- Moves Flag to another class.
Note: this needs I705ec68c to avoid breaking the build
Change-Id: Ia7703aae3215b06c0b3cb792821649806e8998c1
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/SuggestHelper.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/SuggestHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/SuggestHelper.java b/tests/src/com/android/inputmethod/latin/SuggestHelper.java index 4a357a6f2..8a11ff955 100644 --- a/tests/src/com/android/inputmethod/latin/SuggestHelper.java +++ b/tests/src/com/android/inputmethod/latin/SuggestHelper.java @@ -43,7 +43,7 @@ public class SuggestHelper { protected SuggestHelper(Context context, File dictionaryPath, long startOffset, long length, KeyboardId keyboardId) { - mSuggest = new Suggest(dictionaryPath, startOffset, length, null); + mSuggest = new Suggest(context, dictionaryPath, startOffset, length, null); mKeyboard = new LatinKeyboard(context, keyboardId); mKeyDetector = new KeyDetector(); init(); |