diff options
| author | Andrei Stingaceanu <stg@google.com> | 2015-05-14 14:27:16 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-05-14 14:27:18 +0000 |
| commit | fa660f79e9551ca46efa6eaed26cff06095fbcd8 (patch) | |
| tree | ff8a7b2404f4903f5404a49b02cec6c2a052df53 /core/java/android | |
| parent | 6e1c17a3dfd62f3ae2a16ac64b8575fc3aa4a7a2 (diff) | |
| parent | 35c550c854a99ae890d7cffcee4491e68c71a09d (diff) | |
Merge "Fix: text selection bubbles move along with the text" into mnc-dev
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/widget/Editor.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/widget/Editor.java b/core/java/android/widget/Editor.java index 55f4562afa92..5e33f83dd82b 100644 --- a/core/java/android/widget/Editor.java +++ b/core/java/android/widget/Editor.java @@ -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() { |
