Skip to content

Commit 5385752

Browse files
author
Ben Murdoch
committed
Make SslErrorHandler ctor public/@hide.
Allow WebViewProvider implementations to subclass SslErrorHandler but at the same time maintain API compatibility by @hide'ing the constructor. Bug: 6238802 Change-Id: I5de268364ed74e59f62439b8612ab682656a7906
1 parent ed965a2 commit 5385752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/java/android/webkit/SslErrorHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
public class SslErrorHandler extends Handler {
2727

2828
/**
29-
* Package-private constructor needed for API compatibility.
29+
* @hide Only for use by WebViewProvider implementations.
3030
*/
31-
SslErrorHandler() {}
31+
public SslErrorHandler() {}
3232

3333
/**
3434
* Proceed with the SSL certificate.

0 commit comments

Comments
 (0)