Merge "Fix: text selection bubbles move along with the text" into mnc-dev

This commit is contained in:
Andrei Stingaceanu
2015-05-14 14:27:16 +00:00
committed by Android (Google) Code Review

View File

@@ -1806,6 +1806,7 @@ public class Editor {
// When the cursor moves, the word that was typed may need spell check
mSpellChecker.onSelectionChanged();
}
if (!extractedTextModeWillBeStarted()) {
if (isCursorInsideEasyCorrectionSpan()) {
mShowSuggestionRunnable = new Runnable() {
@@ -4113,6 +4114,10 @@ public class Editor {
public void show() {
getHandle().show();
if (mSelectionModifierCursorController != null) {
mSelectionModifierCursorController.hide();
}
}
public void hide() {