Loading java/src/com/android/inputmethod/latin/LatinIME.java +18 −21 Original line number Diff line number Diff line Loading @@ -1411,7 +1411,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar return; } final boolean deleteChar = !mHasUncommittedTypedChars; if (mHasUncommittedTypedChars) { final int length = mWordComposer.size(); if (length > 0) { Loading Loading @@ -1439,8 +1438,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar // If we had uncommitted chars then we know it's not time to revert any auto-correct // and that spaceState is NONE. return; } } else { if (null != mWordSavedForAutoCorrectCancellation) { Utils.Stats.onAutoCorrectionCancellation(); cancelAutoCorrect(ic); Loading @@ -1463,7 +1461,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar } } if (deleteChar) { if (mSuggestionsView != null && mSuggestionsView.dismissAddToDictionaryHint()) { // Go back to the suggestion mode if the user canceled the // "Touch again to save". Loading Loading
java/src/com/android/inputmethod/latin/LatinIME.java +18 −21 Original line number Diff line number Diff line Loading @@ -1411,7 +1411,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar return; } final boolean deleteChar = !mHasUncommittedTypedChars; if (mHasUncommittedTypedChars) { final int length = mWordComposer.size(); if (length > 0) { Loading Loading @@ -1439,8 +1438,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar // If we had uncommitted chars then we know it's not time to revert any auto-correct // and that spaceState is NONE. return; } } else { if (null != mWordSavedForAutoCorrectCancellation) { Utils.Stats.onAutoCorrectionCancellation(); cancelAutoCorrect(ic); Loading @@ -1463,7 +1461,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar } } if (deleteChar) { if (mSuggestionsView != null && mSuggestionsView.dismissAddToDictionaryHint()) { // Go back to the suggestion mode if the user canceled the // "Touch again to save". Loading