Loading core/java/android/webkit/WebChromeClient.java +18 −0 Original line number Diff line number Diff line Loading @@ -320,4 +320,22 @@ public class WebChromeClient { public void openFileChooser(ValueCallback<Uri> uploadFile) { uploadFile.onReceiveValue(null); } /** * Tell the client that the selection has been initiated. * @hide */ public void onSelectionStart(WebView view) { // By default we cancel the selection again, thus disabling // text selection unless the chrome client supports it. view.notifySelectDialogDismissed(); } /** * Tell the client that the selection has been copied or canceled. * @hide */ public void onSelectionDone(WebView view) { } } core/java/android/webkit/WebView.java +183 −95 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
core/java/android/webkit/WebChromeClient.java +18 −0 Original line number Diff line number Diff line Loading @@ -320,4 +320,22 @@ public class WebChromeClient { public void openFileChooser(ValueCallback<Uri> uploadFile) { uploadFile.onReceiveValue(null); } /** * Tell the client that the selection has been initiated. * @hide */ public void onSelectionStart(WebView view) { // By default we cancel the selection again, thus disabling // text selection unless the chrome client supports it. view.notifySelectDialogDismissed(); } /** * Tell the client that the selection has been copied or canceled. * @hide */ public void onSelectionDone(WebView view) { } }
core/java/android/webkit/WebView.java +183 −95 File changed.Preview size limit exceeded, changes collapsed. Show changes