diff options
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/personalization/PersonalizationDictionaryTests.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/personalization/PersonalizationDictionaryTests.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/personalization/PersonalizationDictionaryTests.java b/tests/src/com/android/inputmethod/latin/personalization/PersonalizationDictionaryTests.java index dc6fb0075..b133d61ab 100644 --- a/tests/src/com/android/inputmethod/latin/personalization/PersonalizationDictionaryTests.java +++ b/tests/src/com/android/inputmethod/latin/personalization/PersonalizationDictionaryTests.java @@ -18,6 +18,7 @@ package com.android.inputmethod.latin.personalization; import java.io.File; import java.util.ArrayList; +import java.util.Collections; import java.util.HashMap; import java.util.Locale; import java.util.Map; @@ -57,7 +58,7 @@ public class PersonalizationDictionaryTests extends AndroidTestCase { final DictionaryFacilitator dictionaryFacilitator = new DictionaryFacilitator(getContext()); dictionaryFacilitator.resetDictionariesForTesting(getContext(), new Locale[] { LOCALE_EN_US }, dictTypes, new HashMap<String, File>(), - new HashMap<String, Map<String, String>>()); + Collections.<String, Map<String, String>>emptyMap(), null /* account */); // Set subtypes. RichInputMethodManager.init(getContext()); final RichInputMethodManager richImm = RichInputMethodManager.getInstance(); |