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

Commit d32571e9 authored by Mihai Popa's avatar Mihai Popa
Browse files

Dismiss magnifier correctly in concurrent editing scenario

Fixes: 186505600
Test: manual testing
Change-Id: I864f03e976be92c232f51a576043cb49731cda26
parent a8912937
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -6684,13 +6684,13 @@ public class Editor {
                    if (TextView.DEBUG_CURSOR) {
                        logCursor("SelectionModifierCursorController: onTouchEvent", "ACTION_UP");
                    }
                    if (mEndHandle != null) {
                        mEndHandle.dismissMagnifier();
                    }
                    if (!isDragAcceleratorActive()) {
                        break;
                    }
                    updateSelection(event);
                    if (mEndHandle != null) {
                        mEndHandle.dismissMagnifier();
                    }

                    // No longer dragging to select text, let the parent intercept events.
                    mTextView.getParent().requestDisallowInterceptTouchEvent(false);