diff options
| -rw-r--r-- | api/16.txt | 10 | ||||
| -rw-r--r-- | api/current.txt | 10 | ||||
| -rw-r--r-- | core/java/android/webkit/CookieManager.java | 2 | ||||
| -rwxr-xr-x | core/java/android/webkit/GeolocationPermissions.java | 2 | ||||
| -rw-r--r-- | core/java/android/webkit/JsResult.java | 13 | ||||
| -rw-r--r-- | core/java/android/webkit/WebIconDatabase.java | 2 | ||||
| -rw-r--r-- | core/java/android/webkit/WebStorage.java | 2 |
7 files changed, 17 insertions, 24 deletions
diff --git a/api/16.txt b/api/16.txt index de99eee3e976..17049f035dfa 100644 --- a/api/16.txt +++ b/api/16.txt @@ -24806,7 +24806,7 @@ package android.webkit { enum_constant public static final android.webkit.ConsoleMessage.MessageLevel WARNING; } - public final class CookieManager { + public class CookieManager { method public synchronized boolean acceptCookie(); method public static boolean allowFileSchemeCookies(); method public java.lang.String getCookie(java.lang.String); @@ -24838,7 +24838,7 @@ package android.webkit { method public abstract void onDownloadStart(java.lang.String, java.lang.String, java.lang.String, java.lang.String, long); } - public final class GeolocationPermissions { + public class GeolocationPermissions { method public void allow(java.lang.String); method public void clear(java.lang.String); method public void clearAll(); @@ -24864,8 +24864,6 @@ package android.webkit { public class JsResult { method public final void cancel(); method public final void confirm(); - method protected final void wakeUp(); - field protected boolean mResult; } public class MimeTypeMap { @@ -24958,7 +24956,7 @@ package android.webkit { method public java.lang.String getUrl(); } - public final class WebIconDatabase { + public class WebIconDatabase { method public void close(); method public static android.webkit.WebIconDatabase getInstance(); method public void open(java.lang.String); @@ -25127,7 +25125,7 @@ package android.webkit { enum_constant public static final android.webkit.WebSettings.ZoomDensity MEDIUM; } - public final class WebStorage { + public class WebStorage { method public void deleteAllData(); method public void deleteOrigin(java.lang.String); method public static android.webkit.WebStorage getInstance(); diff --git a/api/current.txt b/api/current.txt index 24df97abaac9..eeb6d60f5cb2 100644 --- a/api/current.txt +++ b/api/current.txt @@ -25459,7 +25459,7 @@ package android.webkit { enum_constant public static final android.webkit.ConsoleMessage.MessageLevel WARNING; } - public final class CookieManager { + public class CookieManager { method public synchronized boolean acceptCookie(); method public static boolean allowFileSchemeCookies(); method public java.lang.String getCookie(java.lang.String); @@ -25491,7 +25491,7 @@ package android.webkit { method public abstract void onDownloadStart(java.lang.String, java.lang.String, java.lang.String, java.lang.String, long); } - public final class GeolocationPermissions { + public class GeolocationPermissions { method public void allow(java.lang.String); method public void clear(java.lang.String); method public void clearAll(); @@ -25517,8 +25517,6 @@ package android.webkit { public class JsResult { method public final void cancel(); method public final void confirm(); - method protected final void wakeUp(); - field protected boolean mResult; } public class MimeTypeMap { @@ -25611,7 +25609,7 @@ package android.webkit { method public java.lang.String getUrl(); } - public final class WebIconDatabase { + public class WebIconDatabase { method public void close(); method public static android.webkit.WebIconDatabase getInstance(); method public void open(java.lang.String); @@ -25780,7 +25778,7 @@ package android.webkit { enum_constant public static final android.webkit.WebSettings.ZoomDensity MEDIUM; } - public final class WebStorage { + public class WebStorage { method public void deleteAllData(); method public void deleteOrigin(java.lang.String); method public static android.webkit.WebStorage getInstance(); diff --git a/core/java/android/webkit/CookieManager.java b/core/java/android/webkit/CookieManager.java index 5f7ef419d00f..2997c1abedfb 100644 --- a/core/java/android/webkit/CookieManager.java +++ b/core/java/android/webkit/CookieManager.java @@ -26,7 +26,7 @@ import android.util.Log; * Manages the cookies used by an application's {@link WebView} instances. * Cookies are manipulated according to RFC2109. */ -public final class CookieManager { +public class CookieManager { private static CookieManager sRef; diff --git a/core/java/android/webkit/GeolocationPermissions.java b/core/java/android/webkit/GeolocationPermissions.java index 1160d5797d18..1441541d5336 100755 --- a/core/java/android/webkit/GeolocationPermissions.java +++ b/core/java/android/webkit/GeolocationPermissions.java @@ -50,7 +50,7 @@ import java.util.Vector; // Within WebKit, Geolocation permissions may be applied either temporarily // (for the duration of the page) or permanently. This class deals only with // permanent permissions. -public final class GeolocationPermissions { +public class GeolocationPermissions { /** * A callback interface used by the host application to set the Geolocation * permission state for an origin. diff --git a/core/java/android/webkit/JsResult.java b/core/java/android/webkit/JsResult.java index 07b686f7dab6..e4e6851d1a41 100644 --- a/core/java/android/webkit/JsResult.java +++ b/core/java/android/webkit/JsResult.java @@ -22,8 +22,6 @@ package android.webkit; * and provides a means for the client to indicate whether this action should proceed. */ public class JsResult { - // This is a basic result of a confirm or prompt dialog. - protected boolean mResult; /** * Callback interface, implemented by the WebViewProvider implementation to receive * notifications when the JavaScript result represented by a JsResult instance has @@ -32,11 +30,10 @@ public class JsResult { public interface ResultReceiver { public void onJsResultComplete(JsResult result); } - /** - * This is the caller of the prompt and is the object that is waiting. - * @hide - */ - protected final ResultReceiver mReceiver; + // This is the caller of the prompt and is the object that is waiting. + private final ResultReceiver mReceiver; + // This is a basic result of a confirm or prompt dialog. + private boolean mResult; /** * Handle the result if the user cancelled the dialog. @@ -69,7 +66,7 @@ public class JsResult { } /* Notify the caller that the JsResult has completed */ - protected final void wakeUp() { + private final void wakeUp() { mReceiver.onJsResultComplete(this); } } diff --git a/core/java/android/webkit/WebIconDatabase.java b/core/java/android/webkit/WebIconDatabase.java index 54dfab366d57..9299b714edea 100644 --- a/core/java/android/webkit/WebIconDatabase.java +++ b/core/java/android/webkit/WebIconDatabase.java @@ -35,7 +35,7 @@ import java.util.Vector; * WebIconDatabase object is a single instance and all methods operate on that * single object. */ -public final class WebIconDatabase { +public class WebIconDatabase { private static final String LOGTAG = "WebIconDatabase"; // Global instance of a WebIconDatabase private static WebIconDatabase sIconDatabase; diff --git a/core/java/android/webkit/WebStorage.java b/core/java/android/webkit/WebStorage.java index 3745258d6f2d..aaf414697de7 100644 --- a/core/java/android/webkit/WebStorage.java +++ b/core/java/android/webkit/WebStorage.java @@ -27,7 +27,7 @@ import java.util.Set; /** * Functionality for manipulating the webstorage databases. */ -public final class WebStorage { +public class WebStorage { /** * Encapsulates a callback function to be executed when a new quota is made |