am 2bfc75a6: Merge "Bug 5255124: Move cursor to the end of a word after correction popup alternates selection"

* commit '2bfc75a6d9217d20e6fb17b484424935aa55a575':
  Bug 5255124: Move cursor to the end of a word after correction popup alternates selection
This commit is contained in:
Gilles Debunne
2011-09-09 16:03:11 -07:00
committed by Android Git Automerger

View File

@@ -9914,6 +9914,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
suggestionSpansFlags[i]);
}
}
// Move cursor at the end of the replacement word
Selection.setSelection(editable, spanEnd + lengthDifference);
}
}
hide();