aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-03-09 20:53:45 +0900
committerJean Chalard <jchalard@google.com>2012-03-09 20:53:45 +0900
commitd5f618e90a6ad8d508a6b5b06a308d0f66456e65 (patch)
tree0313efe9d3e9a4d5aa1f5bd55019c4c4c2d89c01 /java/src
parentc5d2bb786e431776ee3834bf556127fcae5b0fbe (diff)
downloadlatinime-d5f618e90a6ad8d508a6b5b06a308d0f66456e65.tar.gz
latinime-d5f618e90a6ad8d508a6b5b06a308d0f66456e65.tar.xz
latinime-d5f618e90a6ad8d508a6b5b06a308d0f66456e65.zip
Remove a useless test
If we are not composing a word here, we have already returned Change-Id: I63281abace777e3658286d4df6781d2cd5a29c33
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 6c89fbae4..c7a0f4903 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1834,9 +1834,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
} else {
SuggestedWords previousSuggestions = mSuggestionsView.getSuggestions();
if (previousSuggestions == mSettingsValues.mSuggestPuncList) {
- if (!mWordComposer.isComposingWord()) {
- return;
- }
previousSuggestions = SuggestedWords.EMPTY;
}
final SuggestedWords.Builder obsoleteSuggestionsBuilder = new SuggestedWords.Builder()