Merge "Expose netId to SystemApi"

This commit is contained in:
Treehugger Robot
2019-12-05 02:29:41 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 1 deletions

View File

@@ -4194,6 +4194,7 @@ package android.net {
public class Network implements android.os.Parcelable {
ctor public Network(@NonNull android.net.Network);
method @NonNull public android.net.Network getPrivateDnsBypassingCopy();
field public final int netId;
}
public final class NetworkCapabilities implements android.os.Parcelable {

View File

@@ -63,7 +63,7 @@ public class Network implements Parcelable {
/**
* @hide
*/
@UnsupportedAppUsage
@SystemApi
public final int netId;
// Objects used to perform per-network operations such as getSocketFactory