Remove a useless return

Change-Id: Iefe10e94e2d88171387351a5b6cab52e281d0f76
This commit is contained in:
Jean Chalard 2011-12-13 16:37:03 +09:00
parent 8e404536cd
commit 14cb8448df

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();