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
This commit is contained in:
Jean Chalard 2012-09-24 08:45:33 -07:00 committed by Android Git Automerger
commit 14ea06821a

View File

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