diff options
author | 2012-06-08 21:49:13 +0900 | |
---|---|---|
committer | 2012-06-12 10:29:55 +0900 | |
commit | 243e370fcb1c2cb8608614206075ecdbe79a6372 (patch) | |
tree | 6883b0be660523898766869dab5d5d8b6533db0f /java/src | |
parent | 747cf0435a7e978dfd43c30bd931b56146c3d852 (diff) | |
download | latinime-243e370fcb1c2cb8608614206075ecdbe79a6372.tar.gz latinime-243e370fcb1c2cb8608614206075ecdbe79a6372.tar.xz latinime-243e370fcb1c2cb8608614206075ecdbe79a6372.zip |
Move a member call out of the way
Change-Id: I5da48442c0b39aaff817c3b6d067a9b13fda0643
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 39f14425c..d25577c2c 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1394,6 +1394,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen return; } if (SPACE_STATE_DOUBLE == spaceState) { + mHandler.cancelDoubleSpacesTimer(); if (revertDoubleSpaceWhileInBatchEdit()) { // No need to reset mSpaceState, it has already be done (that's why we // receive it as a parameter) @@ -2075,7 +2076,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen } private boolean revertDoubleSpaceWhileInBatchEdit() { - mHandler.cancelDoubleSpacesTimer(); // Here we test whether we indeed have a period and a space before us. This should not // be needed, but it's there just in case something went wrong. final CharSequence textBeforeCursor = mConnection.getTextBeforeCursor(2, 0); |