diff options
author | 2014-02-14 06:19:52 +0000 | |
---|---|---|
committer | 2014-02-14 06:19:52 +0000 | |
commit | 32a7e079e0f66c23405880bc228edcbaa42bd945 (patch) | |
tree | cce6249125dad84f34f9fa9cf93c1d045d81dbf6 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 42e4ea7d6cdaddcd2b055d3d8ddf04c86dba2575 (diff) | |
parent | a273319c59ad24070ee5b35d72f044df496faa02 (diff) | |
download | latinime-32a7e079e0f66c23405880bc228edcbaa42bd945.tar.gz latinime-32a7e079e0f66c23405880bc228edcbaa42bd945.tar.xz latinime-32a7e079e0f66c23405880bc228edcbaa42bd945.zip |
Merge "Add PunctuationSuggestions class"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 7b72e8044..d1125afcc 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1001,7 +1001,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen applicationSuggestedWords, null /* rawSuggestions */, false /* typedWordValid */, false /* willAutoCorrect */, - false /* isPunctuationSuggestions */, false /* isObsoleteSuggestions */, false /* isPrediction */); // When in fullscreen mode, show completions generated by the application @@ -1354,7 +1353,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen if (mSuggestionStripView != null) { final boolean showSuggestions; if (SuggestedWords.EMPTY == suggestedWords - || suggestedWords.mIsPunctuationSuggestions + || suggestedWords.isPunctuationSuggestions() || !mSettings.getCurrent().isSuggestionsRequested()) { showSuggestions = !mSuggestionStripView.maybeShowImportantNoticeTitle(); } else { @@ -1433,7 +1432,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen return new SuggestedWords(typedWordAndPreviousSuggestions, null /* rawSuggestions */, false /* typedWordValid */, false /* hasAutoCorrectionCandidate */, - false /* isPunctuationSuggestions */, true /* isObsoleteSuggestions */, false /* isPrediction */); } |