Skip to content

Commit c2813fa

Browse files
author
George Mount
committed
Show caret handle when clicking in the middle of text.
Bug 6545325 Change-Id: Ibea6daca1da12eec38b05f7f451561d31bb3c983
1 parent b72ac9d commit c2813fa

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)