aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-03-03 21:47:40 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-03 21:47:40 -0800
commit58b18e8a17d9bde26bea9e8680fedd0dfe12350c (patch)
tree168e0ed5255a48c95105f2016e6a5ce56908c0ff /java/src
parentc3532613018707ed9609301fc0200cc406fcb11d (diff)
parentc92dabb27e3e656d6a539ae60f929ee947099218 (diff)
downloadlatinime-58b18e8a17d9bde26bea9e8680fedd0dfe12350c.tar.gz
latinime-58b18e8a17d9bde26bea9e8680fedd0dfe12350c.tar.xz
latinime-58b18e8a17d9bde26bea9e8680fedd0dfe12350c.zip
am c92dabb2: Merge "[IL112] Cleanup"
* commit 'c92dabb27e3e656d6a539ae60f929ee947099218': [IL112] Cleanup
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;