aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-02-28 16:53:22 +0900
committerJean Chalard <jchalard@google.com>2014-03-04 17:52:14 +0900
commit0e489d1ba333e040345125e053a3a6de6c8ca0fe (patch)
tree8e0c5f23fd18d4172f7d4920bd788297dfa28327 /java/src
parent129ca9e7ebc9316a43ae716cc6ec44e1e17a35fa (diff)
downloadlatinime-0e489d1ba333e040345125e053a3a6de6c8ca0fe.tar.gz
latinime-0e489d1ba333e040345125e053a3a6de6c8ca0fe.tar.xz
latinime-0e489d1ba333e040345125e053a3a6de6c8ca0fe.zip
[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
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
1 files changed, 1 insertions, 1 deletions
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();
}
}