summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api/system-current.txt2
-rw-r--r--core/java/android/webkit/PacProcessor.java6
-rw-r--r--non-updatable-api/system-current.txt2
3 files changed, 5 insertions, 5 deletions
diff --git a/api/system-current.txt b/api/system-current.txt
index bcea591f869d..25008f427c03 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -13243,7 +13243,7 @@ package android.webkit {
method @Nullable public String findProxyForUrl(@NonNull String);
method @NonNull public static android.webkit.PacProcessor getInstance();
method @Nullable public default android.net.Network getNetwork();
- method public default void releasePacProcessor();
+ method public default void release();
method public default void setNetwork(@Nullable android.net.Network);
method public boolean setProxyScript(@NonNull String);
}
diff --git a/core/java/android/webkit/PacProcessor.java b/core/java/android/webkit/PacProcessor.java
index 28496c6f8a07..d7b4e8bba884 100644
--- a/core/java/android/webkit/PacProcessor.java
+++ b/core/java/android/webkit/PacProcessor.java
@@ -34,7 +34,7 @@ public interface PacProcessor {
*
* <p> There can only be one default {@link PacProcessor} instance.
* This method will create a new instance if one did not already exist, or
- * if the previous instance was released with {@link #releasePacProcessor}.
+ * if the previous instance was released with {@link #release}.
*
* @return the default PacProcessor instance.
*/
@@ -47,7 +47,7 @@ public interface PacProcessor {
* Create a new PacProcessor instance.
*
* <p> The created instance needs to be released manually once it is no longer needed
- * by calling {@link #releasePacProcessor} to prevent memory leaks.
+ * by calling {@link #release} to prevent memory leaks.
*
* <p> The created instance is not tied to any particular {@link Network}.
* To associate {@link PacProcessor} with a {@link Network} use {@link #setNetwork} method.
@@ -82,7 +82,7 @@ public interface PacProcessor {
* {@link #getInstance} and {@link #getInstanceForNetwork}
* for the same network will create a new instance.
*/
- default void releasePacProcessor() {
+ default void release() {
throw new UnsupportedOperationException("Not implemented");
}
diff --git a/non-updatable-api/system-current.txt b/non-updatable-api/system-current.txt
index 13ed7f134370..f558b486bb07 100644
--- a/non-updatable-api/system-current.txt
+++ b/non-updatable-api/system-current.txt
@@ -12077,7 +12077,7 @@ package android.webkit {
method @Nullable public String findProxyForUrl(@NonNull String);
method @NonNull public static android.webkit.PacProcessor getInstance();
method @Nullable public default android.net.Network getNetwork();
- method public default void releasePacProcessor();
+ method public default void release();
method public default void setNetwork(@Nullable android.net.Network);
method public boolean setProxyScript(@NonNull String);
}