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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user