Skip to content

Commit a7a1d5f

Browse files
George MountAndroid (Google) Code Review
authored andcommitted
Merge "Don't show keyboard on focus change."
2 parents 20c19f4 + 55cd3b8 commit a7a1d5f

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,6 @@ public void onTrimMemory(int level) {
12061206
static final int REPLACE_BASE_CONTENT = 123;
12071207
static final int UPDATE_MATCH_COUNT = 126;
12081208
static final int CENTER_FIT_RECT = 127;
1209-
static final int REQUEST_KEYBOARD_WITH_SELECTION_MSG_ID = 128;
12101209
static final int SET_SCROLLBAR_MODES = 129;
12111210
static final int SELECTION_STRING_CHANGED = 130;
12121211
static final int HIT_TEST_RESULT = 131;
@@ -8286,9 +8285,6 @@ public void handleMessage(Message msg) {
82868285
}
82878286
}
82888287
break;
8289-
case REQUEST_KEYBOARD_WITH_SELECTION_MSG_ID:
8290-
displaySoftKeyboard(true);
8291-
// fall through to UPDATE_TEXT_SELECTION_MSG_ID
82928288
case UPDATE_TEXT_SELECTION_MSG_ID:
82938289
updateTextSelectionFromMessage(msg.arg1, msg.arg2,
82948290
(WebViewCore.TextSelectionData) msg.obj);

core/java/android/webkit/WebViewCore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2819,7 +2819,7 @@ private void initEditField(int start, int end, int selectionPtr,
28192819
Message.obtain(mWebViewClassic.mPrivateHandler,
28202820
WebViewClassic.INIT_EDIT_FIELD, initData).sendToTarget();
28212821
Message.obtain(mWebViewClassic.mPrivateHandler,
2822-
WebViewClassic.REQUEST_KEYBOARD_WITH_SELECTION_MSG_ID,
2822+
WebViewClassic.UPDATE_TEXT_SELECTION_MSG_ID,
28232823
initData.mFieldPointer, 0,
28242824
new TextSelectionData(start, end, selectionPtr))
28252825
.sendToTarget();

0 commit comments

Comments
 (0)