From 0e489d1ba333e040345125e053a3a6de6c8ca0fe Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Fri, 28 Feb 2014 16:53:22 +0900 Subject: [PATCH] [IL118] Factorize a method If we can't get the right locale from the subtype switcher, we should fallback in all cases. Change-Id: I46a53a67927a793d9d3592a996a5a4392a36c6ff --- java/src/com/android/inputmethod/latin/LatinIME.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index fbc001a7e..dbdc12ddc 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -550,7 +550,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen // Create Suggest instance with the new dictionary facilitator. replaceSuggest(new Suggest(oldSuggest, dictionaryFacilitator)); } else if (oldSuggest == null) { - initSuggestForLocale(oldSuggest, locale); + initSuggest(); } }