am 8e404536
: Merge "Simplification"
* commit '8e404536cd20a5624acf5cea0c3aae19324b0e3f': Simplification
This commit is contained in:
commit
dbb3f059af
1 changed files with 2 additions and 4 deletions
|
@ -1423,10 +1423,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
ic.setComposingText(textWithUnderline, 1);
|
ic.setComposingText(textWithUnderline, 1);
|
||||||
if (mWordComposer.size() == 0) {
|
if (mWordComposer.size() == 0) {
|
||||||
mHasUncommittedTypedChars = false;
|
mHasUncommittedTypedChars = false;
|
||||||
}
|
// Remaining size equals zero means we just erased the last character of the
|
||||||
if (1 == length) {
|
// word, so we can show bigrams.
|
||||||
// 1 == length means we are about to erase the last character of the word,
|
|
||||||
// so we can show bigrams.
|
|
||||||
mHandler.postUpdateBigramPredictions();
|
mHandler.postUpdateBigramPredictions();
|
||||||
} else {
|
} else {
|
||||||
// length > 1, so we still have letters to deduce a suggestion from.
|
// length > 1, so we still have letters to deduce a suggestion from.
|
||||||
|
|
Loading…
Reference in a new issue