From 69b68b5916aeca3617fac24fe48fddf63045a4ee Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Thu, 31 Jul 2014 12:29:01 +0900 Subject: [PATCH] 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 --- .../src/com/android/inputmethod/keyboard/KeyboardLayoutSet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardLayoutSet.java b/java/src/com/android/inputmethod/keyboard/KeyboardLayoutSet.java index 870ac86e1..d6d0b2120 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardLayoutSet.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardLayoutSet.java @@ -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 mKeyboardLayoutSetElementIdToParamsMap = new SparseArray<>();