aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-05-24 13:01:35 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-05-24 13:01:35 -0700
commit24b36ef7a567b98dbb91f6efb2bffe1d3bf06205 (patch)
tree918b502832a067d95d6fa0a391b77a0d409fb165 /java/src/com/android/inputmethod/latin/LatinIME.java
parent5b41f31183e34cba97b83233c8e6e74a176f0130 (diff)
parent740d829092c1900e713293e805ae333e29cb2dd0 (diff)
downloadlatinime-24b36ef7a567b98dbb91f6efb2bffe1d3bf06205.tar.gz
latinime-24b36ef7a567b98dbb91f6efb2bffe1d3bf06205.tar.xz
latinime-24b36ef7a567b98dbb91f6efb2bffe1d3bf06205.zip
am 740d8290: Merge "Use localized toLowerString in AutoCorrection.isValidWord"
* commit '740d829092c1900e713293e805ae333e29cb2dd0': Use localized toLowerString in AutoCorrection.isValidWord
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-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 6bf9f3ab5..592db35dd 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -2371,7 +2371,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
final boolean showingAddToDictionaryHint =
SuggestedWordInfo.KIND_TYPED == suggestionInfo.mKind && mSuggest != null
// If the suggestion is not in the dictionary, the hint should be shown.
- && !AutoCorrection.isValidWord(mSuggest.getUnigramDictionaries(), suggestion, true);
+ && !AutoCorrection.isValidWord(mSuggest, suggestion, true);
if (mSettings.isInternal()) {
Stats.onSeparator((char)Constants.CODE_SPACE,