aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-12-13 05:48:22 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-12-13 05:48:22 -0800
commita8387b1b416602b3bf5ee5832d77fc5ce2958cc8 (patch)
tree9fd5507440d93951db3aacd9c1e6fae0710c4dce /java/src/com/android/inputmethod
parent65cb0f746ab1529bae3893d84687831324170939 (diff)
parent0a2494fa5881152a9ed316409ae650353d8969fb (diff)
downloadlatinime-a8387b1b416602b3bf5ee5832d77fc5ce2958cc8.tar.gz
latinime-a8387b1b416602b3bf5ee5832d77fc5ce2958cc8.tar.xz
latinime-a8387b1b416602b3bf5ee5832d77fc5ce2958cc8.zip
am 0a2494fa: Merge "Remove a useless return"
* commit '0a2494fa5881152a9ed316409ae650353d8969fb': Remove a useless return
Diffstat (limited to 'java/src/com/android/inputmethod')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java3
1 files changed, 0 insertions, 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();