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

Commit 08a80b32 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[Magnifier-77] Show it on long press selection"

parents 103afaf4 c9471655
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6613,6 +6613,9 @@ public class Editor {
                    }

                    updateSelection(event);
                    if (mTextView.hasSelection() && mEndHandle != null) {
                        mEndHandle.updateMagnifier(event);
                    }
                    break;

                case MotionEvent.ACTION_UP:
@@ -6623,6 +6626,9 @@ public class Editor {
                        break;
                    }
                    updateSelection(event);
                    if (mEndHandle != null) {
                        mEndHandle.dismissMagnifier();
                    }

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