From ae234abd215fe22d53c0b5fa6c973a982adba50c Mon Sep 17 00:00:00 2001 From: satok Date: Thu, 5 Apr 2012 12:46:48 +0900 Subject: Fix the locale of the flags in BinaryDicitonary for tests Bug: 6129372 Change-Id: I5611f88b10c44261b6145c9dc8615b80e4341e77 --- java/src/com/android/inputmethod/latin/DictionaryFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'java/src/com/android/inputmethod/latin/DictionaryFactory.java') diff --git a/java/src/com/android/inputmethod/latin/DictionaryFactory.java b/java/src/com/android/inputmethod/latin/DictionaryFactory.java index 7a59d80f1..79dc3f2d3 100644 --- a/java/src/com/android/inputmethod/latin/DictionaryFactory.java +++ b/java/src/com/android/inputmethod/latin/DictionaryFactory.java @@ -145,10 +145,10 @@ public class DictionaryFactory { * @return the created dictionary, or null. */ public static Dictionary createDictionaryForTest(Context context, File dictionary, - long startOffset, long length, Flag[] flagArray) { + long startOffset, long length, Flag[] flagArray, Locale locale) { if (dictionary.isFile()) { return new BinaryDictionary(context, dictionary.getAbsolutePath(), startOffset, length, - flagArray, null); + flagArray, locale); } else { Log.e(TAG, "Could not find the file. path=" + dictionary.getAbsolutePath()); return null; -- cgit v1.2.3-83-g751a