Expose onReceivedSslError() so that the WebView client

can accept the error and continue.

Fix http://b/issue?id=2299152
This commit is contained in:
Grace Kloba
2009-12-03 19:12:49 -08:00
parent 14467eb2ee
commit ddcea3d216
3 changed files with 153 additions and 4 deletions

View File

@@ -20,8 +20,6 @@ import java.security.cert.X509Certificate;
/**
* One or more individual SSL errors and the associated SSL certificate
*
* {@hide}
*/
public class SslError {

View File

@@ -173,8 +173,6 @@ public class WebViewClient {
* @param handler An SslErrorHandler object that will handle the user's
* response.
* @param error The SSL error object.
* @hide - hide this because it contains a parameter of type SslError,
* which is located in a hidden package.
*/
public void onReceivedSslError(WebView view, SslErrorHandler handler,
SslError error) {