Stop highlighting in suggestion strip after auto-completion cancellation
Follow up change to I2185fcf6 bug: 2847211 Change-Id: I7874bc8400e5a7613bfbae83b790ea6192d287b3main
parent
b643dab73a
commit
378a1b516d
|
@ -1805,8 +1805,8 @@ public class LatinIME extends InputMethodService
|
||||||
int[] nextLettersFrequencies = mSuggest.getNextLettersFrequencies();
|
int[] nextLettersFrequencies = mSuggest.getNextLettersFrequencies();
|
||||||
mKeyboardSwitcher.setPreferredLetters(nextLettersFrequencies);
|
mKeyboardSwitcher.setPreferredLetters(nextLettersFrequencies);
|
||||||
|
|
||||||
boolean correctionAvailable = !mInputTypeNoAutoCorrect && mSuggest.hasMinimalCorrection();
|
boolean correctionAvailable = !mInputTypeNoAutoCorrect && !mJustReverted
|
||||||
//|| mCorrectionMode == mSuggest.CORRECTION_FULL;
|
&& mSuggest.hasMinimalCorrection();
|
||||||
CharSequence typedWord = word.getTypedWord();
|
CharSequence typedWord = word.getTypedWord();
|
||||||
// If we're in basic correct
|
// If we're in basic correct
|
||||||
boolean typedWordValid = mSuggest.isValidWord(typedWord) ||
|
boolean typedWordValid = mSuggest.isValidWord(typedWord) ||
|
||||||
|
|
Loading…
Reference in New Issue