Merge change 4100
* changes: send click in webview before sending key
This commit is contained in:
@@ -4525,6 +4525,9 @@ public class WebView extends AbsoluteLayout
|
||||
}
|
||||
|
||||
/* package */ void passToJavaScript(String currentText, KeyEvent event) {
|
||||
if (nativeCursorWantsKeyEvents() && !nativeCursorMatchesFocus()) {
|
||||
mWebViewCore.sendMessage(EventHub.CLICK);
|
||||
}
|
||||
HashMap arg = new HashMap();
|
||||
arg.put("event", event);
|
||||
arg.put("currentText", currentText);
|
||||
|
||||
Reference in New Issue
Block a user