[IL118] Factorize a method
If we can't get the right locale from the subtype switcher, we should fallback in all cases. Change-Id: I46a53a67927a793d9d3592a996a5a4392a36c6ffmain
parent
129ca9e7eb
commit
0e489d1ba3
|
@ -550,7 +550,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
// Create Suggest instance with the new dictionary facilitator.
|
// Create Suggest instance with the new dictionary facilitator.
|
||||||
replaceSuggest(new Suggest(oldSuggest, dictionaryFacilitator));
|
replaceSuggest(new Suggest(oldSuggest, dictionaryFacilitator));
|
||||||
} else if (oldSuggest == null) {
|
} else if (oldSuggest == null) {
|
||||||
initSuggestForLocale(oldSuggest, locale);
|
initSuggest();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue