aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-09-24 19:33:42 +0900
committerJean Chalard <jchalard@google.com>2012-09-24 19:33:42 +0900
commit72c5d328882976a0b4ae8b01a872ff5ae4d10547 (patch)
treecedb728bb3344c23ca8bb5e971f114d9afef84ca /java/src
parent65ef26081b78f52960ad520f997b3e79dcbb8528 (diff)
downloadlatinime-72c5d328882976a0b4ae8b01a872ff5ae4d10547.tar.gz
latinime-72c5d328882976a0b4ae8b01a872ff5ae4d10547.tar.xz
latinime-72c5d328882976a0b4ae8b01a872ff5ae4d10547.zip
Fix a bug where the cursor pos wouldn't be tracked correctly
This would cause Bug: 7208199 Change-Id: I8474985bfe349e1530b27bc98842937627bbe4e0
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
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 b77eef412..00608c5c5 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -719,7 +719,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
}
}
- mConnection.resetCachesUponCursorMove(mLastSelectionStart);
+ mConnection.resetCachesUponCursorMove(editorInfo.initialSelStart);
if (isDifferentTextField) {
mainKeyboardView.closing();