Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ea838d5 authored by Clara Bayarri's avatar Clara Bayarri Committed by Android (Google) Code Review
Browse files

Merge "Remove insertion action mode runnable on selection start" into mnc-dev

parents aac4c5c2 7184c8aa
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1752,11 +1752,10 @@ public class Editor {
     * @return true if the drag was started.
     */
    private boolean selectCurrentWordAndStartDrag() {
        if (extractedTextModeWillBeStarted()) {
            // Cancel the single tap delayed runnable.
        if (mInsertionActionModeRunnable != null) {
            mTextView.removeCallbacks(mInsertionActionModeRunnable);
        }
        if (extractedTextModeWillBeStarted()) {
            return false;
        }
        if (mTextActionMode != null) {