From 14cb8448df4f9f76096bceed0b367e87c7896c6c Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Tue, 13 Dec 2011 16:37:03 +0900 Subject: [PATCH] Remove a useless return Change-Id: Iefe10e94e2d88171387351a5b6cab52e281d0f76 --- java/src/com/android/inputmethod/latin/LatinIME.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 6f7bdd85f..a67e4c938 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1433,9 +1433,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar } else { 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 { if (null != mWordSavedForAutoCorrectCancellation) { Utils.Stats.onAutoCorrectionCancellation();