Fix some unit tests.

The default value for the script needs to be Latin, as we don't specify
it in the files.

Change-Id: I1275f13f1cd92f00dc5708748fefb4982f0a60b3
main
Jean Chalard 2014-07-31 12:29:01 +09:00
parent 5a7b634aaf
commit 69b68b5916
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public final class KeyboardLayoutSet {
boolean mIsSpellChecker;
int mKeyboardWidth;
int mKeyboardHeight;
int mScriptId;
int mScriptId = ScriptUtils.SCRIPT_LATIN;
// Sparse array of KeyboardLayoutSet element parameters indexed by element's id.
final SparseArray<ElementParams> mKeyboardLayoutSetElementIdToParamsMap =
new SparseArray<>();