Merge "DO NOT MERGE: Update floatingtoolbar position when cursor moves." into mnc-dev
diff --git a/core/java/android/widget/Editor.java b/core/java/android/widget/Editor.java
index f7c6b68..35e7389 100644
--- a/core/java/android/widget/Editor.java
+++ b/core/java/android/widget/Editor.java
@@ -3817,6 +3817,10 @@
                                 startSelectionActionModeWithoutSelection();
                             }
                         }
+                    } else {
+                        if (mSelectionActionMode != null) {
+                            mSelectionActionMode.invalidateContentRect();
+                        }
                     }
                     hideAfterDelay();
                     break;