Merge "Fix a bug where the cursor pos wouldn't be tracked correctly" into jb-mr1-dev

This commit is contained in:
Jean Chalard 2012-09-24 03:41:48 -07:00 committed by Android (Google) Code Review
commit 88985bfa2e

View file

@ -721,7 +721,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
} }
} }
mConnection.resetCachesUponCursorMove(mLastSelectionStart); mConnection.resetCachesUponCursorMove(editorInfo.initialSelStart);
if (isDifferentTextField) { if (isDifferentTextField) {
mainKeyboardView.closing(); mainKeyboardView.closing();