aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-08-05 02:49:16 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-08-05 02:49:16 -0700
commitde7d659ebd2c41cfbe1d824eb5a0f8c588f3b256 (patch)
treed6469aec28554f5a95fc22c60d402d1917210911 /java/src/com/android/inputmethod/latin/LatinIME.java
parentbb9603aa0f137c796443889cd7fbc42154171b60 (diff)
parentb2c21033ab4c94a718b0bb8725a467d66083c353 (diff)
downloadlatinime-de7d659ebd2c41cfbe1d824eb5a0f8c588f3b256.tar.gz
latinime-de7d659ebd2c41cfbe1d824eb5a0f8c588f3b256.tar.xz
latinime-de7d659ebd2c41cfbe1d824eb5a0f8c588f3b256.zip
am b2c21033: Merge "Small cleanup"
* commit 'b2c21033ab4c94a718b0bb8725a467d66083c353': Small cleanup
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 719c7c81f..addf5c3e9 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1639,7 +1639,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
}
final int wordComposerSize = mWordComposer.size();
// Since isComposingWord() is true, the size is at least 1.
- final int lastChar = mWordComposer.getCodeBeforeCursor();
if (mWordComposer.isCursorFrontOrMiddleOfComposingWord()) {
// If we are in the middle of a recorrection, we need to commit the recorrection
// first so that we can insert the batch input at the current cursor position.