Loading java/src/com/android/inputmethod/latin/LatinIME.java +3 −9 Original line number Diff line number Diff line Loading @@ -1862,19 +1862,13 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen Utils.Stats.onSeparator((char)Keyboard.CODE_SPACE, WordComposer.NOT_A_COORDINATE, WordComposer.NOT_A_COORDINATE); if (!showingAddToDictionaryHint) { // If we're not showing the "Touch again to save", then show predictions. mHandler.postUpdateBigramPredictions(); } else { if (mIsUserDictionaryAvailable) { mSuggestionsView.showAddToDictionaryHint( suggestion, mCurrentSettings.mHintToSaveText); if (showingAddToDictionaryHint && mIsUserDictionaryAvailable) { mSuggestionsView.showAddToDictionaryHint(suggestion, mCurrentSettings.mHintToSaveText); } else { // Here we just manually picked a suggestion. We should be showing the predictions! // If we're not showing the "Touch again to save", then show predictions. mHandler.postUpdateBigramPredictions(); } } } /** * Commits the chosen word to the text field and saves it for later retrieval. Loading Loading
java/src/com/android/inputmethod/latin/LatinIME.java +3 −9 Original line number Diff line number Diff line Loading @@ -1862,19 +1862,13 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen Utils.Stats.onSeparator((char)Keyboard.CODE_SPACE, WordComposer.NOT_A_COORDINATE, WordComposer.NOT_A_COORDINATE); if (!showingAddToDictionaryHint) { // If we're not showing the "Touch again to save", then show predictions. mHandler.postUpdateBigramPredictions(); } else { if (mIsUserDictionaryAvailable) { mSuggestionsView.showAddToDictionaryHint( suggestion, mCurrentSettings.mHintToSaveText); if (showingAddToDictionaryHint && mIsUserDictionaryAvailable) { mSuggestionsView.showAddToDictionaryHint(suggestion, mCurrentSettings.mHintToSaveText); } else { // Here we just manually picked a suggestion. We should be showing the predictions! // If we're not showing the "Touch again to save", then show predictions. mHandler.postUpdateBigramPredictions(); } } } /** * Commits the chosen word to the text field and saves it for later retrieval. Loading