diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2021-03-11 17:19:18 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2021-03-11 17:19:18 +0900 |
commit | ebacbf75b45642ce522a21c6038805b16bb5aca6 (patch) | |
tree | 41725356c853d68bc0c82aaa3b1cddd5bcb828e5 | |
parent | b002b20492e4ef078c4d717025614f5bbc72733c (diff) |
Move ParseException to Connectivity
ParseException is a public API class used to support Connectivity APIs,
so it should be in the same API surface as connectivity.
Bug: 181512874
Test: m
Change-Id: Ie1213de0d0facc8f409f7b4c2553abb382e4afbf
-rw-r--r-- | core/api/current.txt | 4 | ||||
-rw-r--r-- | packages/Connectivity/framework/api/current.txt | 4 | ||||
-rw-r--r-- | packages/Connectivity/framework/src/android/net/ParseException.java (renamed from core/java/android/net/ParseException.java) | 0 |
3 files changed, 4 insertions, 4 deletions
diff --git a/core/api/current.txt b/core/api/current.txt index aa9a03e5e92b..157dc5670299 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -25018,10 +25018,6 @@ package android.net { ctor public NetworkSpecifier(); } - public class ParseException extends java.lang.RuntimeException { - field public String response; - } - public abstract class PlatformVpnProfile { method public final int getType(); method @NonNull public final String getTypeString(); diff --git a/packages/Connectivity/framework/api/current.txt b/packages/Connectivity/framework/api/current.txt index a8f1a4d2a7f8..ab5d969f5d3e 100644 --- a/packages/Connectivity/framework/api/current.txt +++ b/packages/Connectivity/framework/api/current.txt @@ -401,6 +401,10 @@ package android.net { method public android.net.NetworkRequest.Builder setNetworkSpecifier(android.net.NetworkSpecifier); } + public class ParseException extends java.lang.RuntimeException { + field public String response; + } + public class ProxyInfo implements android.os.Parcelable { ctor public ProxyInfo(@Nullable android.net.ProxyInfo); method public static android.net.ProxyInfo buildDirectProxy(String, int); diff --git a/core/java/android/net/ParseException.java b/packages/Connectivity/framework/src/android/net/ParseException.java index bcfdd7ef09cc..bcfdd7ef09cc 100644 --- a/core/java/android/net/ParseException.java +++ b/packages/Connectivity/framework/src/android/net/ParseException.java |