diff options
author | Paul Duffin <paulduffin@google.com> | 2023-10-12 19:20:12 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2023-10-12 22:35:07 +0100 |
commit | 732e142f7675d16253adffabecae46f2db006acb (patch) | |
tree | 2a2db247c64f0feb78053a035a3b47fcd9807cfd | |
parent | 6443ee674741811e0cce48c4ce96a02c871b9439 (diff) | |
download | sdk-732e142f7675d16253adffabecae46f2db006acb.tar.gz |
Add missing method overrides to previously released API
The accompanying change in the topic adds some missing concrete
overrides of abstract methods to the current API signature files. This
change does the same for the corresponding previously released API
files to avoid those additional methods being incorrectly treated as
new methods when they did exist in previous versions.
Test: m checkapi
Bug: 299366704
Change-Id: Ic4c25891941e91a432b9721118daf27b6a1923f5
-rw-r--r-- | extensions/10/system/api/framework-connectivity-t.txt | 1 | ||||
-rw-r--r-- | extensions/10/system/api/framework-connectivity.txt | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/extensions/10/system/api/framework-connectivity-t.txt b/extensions/10/system/api/framework-connectivity-t.txt index 154908921..6f0119edc 100644 --- a/extensions/10/system/api/framework-connectivity-t.txt +++ b/extensions/10/system/api/framework-connectivity-t.txt @@ -305,6 +305,7 @@ package android.net { ctor public NetworkStats(long, int); method @NonNull public android.net.NetworkStats add(@NonNull android.net.NetworkStats); method @NonNull public android.net.NetworkStats addEntry(@NonNull android.net.NetworkStats.Entry); + method public android.net.NetworkStats clone(); method public int describeContents(); method @NonNull public java.util.Iterator<android.net.NetworkStats.Entry> iterator(); method @NonNull public android.net.NetworkStats subtract(@NonNull android.net.NetworkStats); diff --git a/extensions/10/system/api/framework-connectivity.txt b/extensions/10/system/api/framework-connectivity.txt index 4a2ed8a2a..e812024a7 100644 --- a/extensions/10/system/api/framework-connectivity.txt +++ b/extensions/10/system/api/framework-connectivity.txt @@ -94,6 +94,7 @@ package android.net { } public final class DscpPolicy implements android.os.Parcelable { + method public int describeContents(); method @Nullable public java.net.InetAddress getDestinationAddress(); method @Nullable public android.util.Range<java.lang.Integer> getDestinationPortRange(); method public int getDscpValue(); @@ -101,6 +102,7 @@ package android.net { method public int getProtocol(); method @Nullable public java.net.InetAddress getSourceAddress(); method public int getSourcePort(); + method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.net.DscpPolicy> CREATOR; field public static final int PROTOCOL_ANY = -1; // 0xffffffff field public static final int SOURCE_PORT_ANY = -1; // 0xffffffff |