diff options
author | 2014-02-13 22:21:01 -0800 | |
---|---|---|
committer | 2014-02-13 22:21:01 -0800 | |
commit | 65507d5fb1073490d7e389e9a74be8f1b0466914 (patch) | |
tree | e410cc914a2973a599ac35c2b47c36eebfc37973 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 8cdd284d5908916500c5db52357e647258f4494f (diff) | |
parent | 32a7e079e0f66c23405880bc228edcbaa42bd945 (diff) | |
download | latinime-65507d5fb1073490d7e389e9a74be8f1b0466914.tar.gz latinime-65507d5fb1073490d7e389e9a74be8f1b0466914.tar.xz latinime-65507d5fb1073490d7e389e9a74be8f1b0466914.zip |
am 32a7e079: Merge "Add PunctuationSuggestions class"
* commit '32a7e079e0f66c23405880bc228edcbaa42bd945':
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 */); } |