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

Commit 8871403a authored by George Mount's avatar George Mount Committed by Android (Google) Code Review
Browse files

Merge "Show caret handle when clicking in the middle of text." into jb-dev

parents 38330ec3 c2813fa7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -7872,7 +7872,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
        nativeSetTextSelection(mNativeClass, data.mSelectTextPtr);
        nativeSetTextSelection(mNativeClass, data.mSelectTextPtr);


        if ((data.mSelectionReason == TextSelectionData.REASON_ACCESSIBILITY_INJECTOR)
        if ((data.mSelectionReason == TextSelectionData.REASON_ACCESSIBILITY_INJECTOR)
                || (!mSelectingText
                || (!mSelectingText && data.mStart != data.mEnd
                        && data.mSelectionReason != TextSelectionData.REASON_SELECT_WORD)) {
                        && data.mSelectionReason != TextSelectionData.REASON_SELECT_WORD)) {
            selectionDone();
            selectionDone();
            mShowTextSelectionExtra = true;
            mShowTextSelectionExtra = true;