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
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 45ecfd2..95f89c0 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -721,7 +721,7 @@
}
}
- mConnection.resetCachesUponCursorMove(mLastSelectionStart);
+ mConnection.resetCachesUponCursorMove(editorInfo.initialSelStart);
if (isDifferentTextField) {
mainKeyboardView.closing();