From 2433fe9f04caa4257f7313a41d3bbae90ca2fe23 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Wed, 22 Aug 2012 19:46:45 +0100 Subject: [PATCH] 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 --- core/java/android/webkit/HttpAuthHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/webkit/HttpAuthHandler.java b/core/java/android/webkit/HttpAuthHandler.java index b3571aaa5de8e..296d960a5812f 100644 --- a/core/java/android/webkit/HttpAuthHandler.java +++ b/core/java/android/webkit/HttpAuthHandler.java @@ -28,9 +28,9 @@ import android.os.Handler; public class HttpAuthHandler extends Handler { /** - * Package-private constructor needed for API compatibility. + * @hide Only for use by WebViewProvider implementations. */ - HttpAuthHandler() { + public HttpAuthHandler() { } /**