Merge "Remove a useless return"

main
Jean Chalard 2011-12-13 00:01:25 -08:00 committed by Android (Google) Code Review
commit 0a2494fa58
1 changed files with 0 additions and 3 deletions

View File

@ -1433,9 +1433,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
} else { } else {
ic.deleteSurroundingText(1, 0); ic.deleteSurroundingText(1, 0);
} }
// If we had uncommitted chars then we know it's not time to revert any auto-correct
// and that spaceState is NONE.
return;
} else { } else {
if (null != mWordSavedForAutoCorrectCancellation) { if (null != mWordSavedForAutoCorrectCancellation) {
Utils.Stats.onAutoCorrectionCancellation(); Utils.Stats.onAutoCorrectionCancellation();