Skip to content

Commit 2433fe9

Browse files
author
Ben Murdoch
committed
Make HttpAuthHandler ctor public/@hide.
The Chromium WebView Provider needs to subclass HttpAuthHandler so that we can adapt a ChromHttpAuthHandler into an android.webkit.HttpAuthHandler. Currently the constructor (that does nothing) is package private. So to satisfy the subclass requirement, make it public, and to satisfy the API, make it @hide. Bug: 7034995 Change-Id: I9846aecacce078696db5be709394afb980eb25a6
1 parent 6479ecd commit 2433fe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/java/android/webkit/HttpAuthHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
public class HttpAuthHandler extends Handler {
2929

3030
/**
31-
* Package-private constructor needed for API compatibility.
31+
* @hide Only for use by WebViewProvider implementations.
3232
*/
33-
HttpAuthHandler() {
33+
public HttpAuthHandler() {
3434
}
3535

3636
/**

0 commit comments

Comments
 (0)