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
This commit is contained in:
Jean Chalard 2014-07-31 12:29:01 +09:00
parent 5a7b634aaf
commit 69b68b5916

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<>();