[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
This commit is contained in:
Jean Chalard 2014-02-28 16:53:22 +09:00
parent 129ca9e7eb
commit 0e489d1ba3

View File

@ -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();
}
}