diff options
author | 2012-07-05 14:08:52 +0900 | |
---|---|---|
committer | 2012-07-06 16:27:55 +0900 | |
commit | 8ba33c1a494db5ef3cce17754f4d6981532074a0 (patch) | |
tree | e4be7988d8e98f6ad9d75aeb478a1f0dc5943f8e /java/src | |
parent | 362ea3cacbe1f19625f6a75e2bd7cd5de33fe0f2 (diff) | |
download | latinime-8ba33c1a494db5ef3cce17754f4d6981532074a0.tar.gz latinime-8ba33c1a494db5ef3cce17754f4d6981532074a0.tar.xz latinime-8ba33c1a494db5ef3cce17754f4d6981532074a0.zip |
Simplification (A62)
Change-Id: I606270a0387787445b7cd6b94e4830bfc144b49e
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 78b7eaa44..b59e76b0d 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1523,15 +1523,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen swapSwapperAndSpace(); mSpaceState = SPACE_STATE_WEAK; } - // Some characters are not word separators, yet they don't start a new - // composing span. For these, we haven't changed the suggestion strip, and - // if the "add to dictionary" hint is shown, we should do so now. Examples of - // such characters include single quote, dollar, and others; the exact list is - // the list of characters for which we enter handleCharacterWhileInBatchEdit - // that don't match the test if ((isAlphabet...)) at the top of this method. - if (null != mSuggestionsView && mSuggestionsView.dismissAddToDictionaryHint()) { - mHandler.postUpdateBigramPredictions(); - } + // We may need to update predictions, if the "add to dictionary" hint was displayed + // for example. + if (null != mSuggestionsView) mSuggestionsView.dismissAddToDictionaryHint(); + mHandler.postUpdateBigramPredictions(); } Utils.Stats.onNonSeparator((char)primaryCode, x, y); } |