From addc593349fa226237b5f2c754dcdfb97ee2b842 Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Fri, 29 Aug 2014 21:40:59 +0900 Subject: [PATCH] Fix: PersonalizationDictionaryTests. Change-Id: I2196c53d8e3ac3ab4c6c2f8e9320489b3a8bacd2 --- .../latin/personalization/PersonalizationDictionaryTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/com/android/inputmethod/latin/personalization/PersonalizationDictionaryTests.java b/tests/src/com/android/inputmethod/latin/personalization/PersonalizationDictionaryTests.java index b6562921e..e9a97ff92 100644 --- a/tests/src/com/android/inputmethod/latin/personalization/PersonalizationDictionaryTests.java +++ b/tests/src/com/android/inputmethod/latin/personalization/PersonalizationDictionaryTests.java @@ -52,7 +52,7 @@ public class PersonalizationDictionaryTests extends AndroidTestCase { final ArrayList dictTypes = new ArrayList<>(); dictTypes.add(Dictionary.TYPE_MAIN); dictTypes.add(Dictionary.TYPE_PERSONALIZATION); - final DictionaryFacilitator dictionaryFacilitator = new DictionaryFacilitator(); + final DictionaryFacilitator dictionaryFacilitator = new DictionaryFacilitator(getContext()); dictionaryFacilitator.resetDictionariesForTesting(getContext(), LOCALE_EN_US, dictTypes, new HashMap(), new HashMap>()); return dictionaryFacilitator;