aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-02-26 15:26:41 +0900
committerJean Chalard <jchalard@google.com>2014-03-04 14:32:02 +0900
commit145e8568f444bf4b102b2da73e0be8a2b04b50a1 (patch)
tree8f3ffb1761df2d5b74fe2535724d16f63f88c2b5 /java/src
parent32c6d4caea8e1391804f405d78e33e5c0fe89b4b (diff)
downloadlatinime-145e8568f444bf4b102b2da73e0be8a2b04b50a1.tar.gz
latinime-145e8568f444bf4b102b2da73e0be8a2b04b50a1.tar.xz
latinime-145e8568f444bf4b102b2da73e0be8a2b04b50a1.zip
[IL112] Cleanup
Bug: 8636060 Change-Id: Ic7c2dec2521613d52707457463691bec383177ff
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 13ac18791..020dd87d4 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -875,7 +875,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
}
// This will set the punctuation suggestions if next word suggestion is off;
// otherwise it will clear the suggestion strip.
- setNeutralSuggestionStripInternal();
+ setNeutralSuggestionStrip();
mHandler.cancelUpdateSuggestionStrip();
mHandler.cancelDoubleSpacePeriodTimer();
@@ -1509,15 +1509,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
mSuggestionStripView.showAddToDictionaryHint(word);
}
- // TODO[IL]: Define a clean interface for this
// This will show either an empty suggestion strip (if prediction is enabled) or
// punctuation suggestions (if it's disabled).
@Override
public void setNeutralSuggestionStrip() {
- setNeutralSuggestionStripInternal();
- }
-
- private void setNeutralSuggestionStripInternal() {
final SettingsValues currentSettings = mSettings.getCurrent();
final SuggestedWords neutralSuggestions = currentSettings.mBigramPredictionEnabled
? SuggestedWords.EMPTY : currentSettings.mSpacingAndPunctuations.mSuggestPuncList;