aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-09-24 08:45:33 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-09-24 08:45:33 -0700
commit14ea06821aeed83edd230e8152ee4a331f7b5de6 (patch)
tree40d20b3165f1fef8e393a711947fe8973c0e5159 /java/src/com/android/inputmethod
parentc7c5b2a132afc5b935942805ccb1178e1b660577 (diff)
parent88985bfa2e8e05e7974fc3c275076888e98f1b5d (diff)
downloadlatinime-14ea06821aeed83edd230e8152ee4a331f7b5de6.tar.gz
latinime-14ea06821aeed83edd230e8152ee4a331f7b5de6.tar.xz
latinime-14ea06821aeed83edd230e8152ee4a331f7b5de6.zip
am 88985bfa: Merge "Fix a bug where the cursor pos wouldn\'t be tracked correctly" into jb-mr1-dev
* commit '88985bfa2e8e05e7974fc3c275076888e98f1b5d': Fix a bug where the cursor pos wouldn't be tracked correctly
Diffstat (limited to 'java/src/com/android/inputmethod')
-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 45ecfd2e7..95f89c0cc 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -721,7 +721,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
}
}
- mConnection.resetCachesUponCursorMove(mLastSelectionStart);
+ mConnection.resetCachesUponCursorMove(editorInfo.initialSelStart);
if (isDifferentTextField) {
mainKeyboardView.closing();