From 150bad6fd4b401177c480acf5640b4db0f821886 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Thu, 18 Aug 2011 19:29:29 +0900 Subject: Have the spell checker use the User dictionary. Bug: 5175868 Change-Id: I165eee4c865caa5ee1daf3e0b1acde8788b996ef --- 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 39b4f63a5..ffd204dac 100644 --- a/java/src/com/android/inputmethod/latin/DictionaryFactory.java +++ b/java/src/com/android/inputmethod/latin/DictionaryFactory.java @@ -42,9 +42,9 @@ public class DictionaryFactory { * @param context application context for reading resources * @param locale the locale for which to create the dictionary * @param fallbackResId the id of the resource to use as a fallback if no pack is found - * @return an initialized instance of Dictionary + * @return an initialized instance of DictionaryCollection */ - public static Dictionary createDictionaryFromManager(Context context, Locale locale, + public static DictionaryCollection createDictionaryFromManager(Context context, Locale locale, int fallbackResId) { if (null == locale) { Log.e(TAG, "No locale defined for dictionary"); -- cgit v1.2.3-83-g751a