Skip to content

Commit 8871403

Browse files
George MountAndroid (Google) Code Review
authored andcommitted
Merge "Show caret handle when clicking in the middle of text." into jb-dev
2 parents 38330ec + c2813fa commit 8871403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7872,7 +7872,7 @@ private void updateTextSelectionFromMessage(int nodePointer,
78727872
nativeSetTextSelection(mNativeClass, data.mSelectTextPtr);
78737873

78747874
if ((data.mSelectionReason == TextSelectionData.REASON_ACCESSIBILITY_INJECTOR)
7875-
|| (!mSelectingText
7875+
|| (!mSelectingText && data.mStart != data.mEnd
78767876
&& data.mSelectionReason != TextSelectionData.REASON_SELECT_WORD)) {
78777877
selectionDone();
78787878
mShowTextSelectionExtra = true;

0 commit comments

Comments
 (0)