Let clients access StaticIpConfiguration members through reflection.

Bug: 131764329
Test: none
Change-Id: Ice5c4fd4d469a55410129310c5a25874b94e2219
(cherry picked from commit 6736fb0465e3cc9f38ee1340e6b831a6dcd195e8)
Merged-In: I0fa84390f6c289571afa9d86cb922835fe2b7e77
This commit is contained in:
Chalard Jean
2019-05-22 02:42:25 -07:00
parent 38254b8bd7
commit 6f1f2df72b

View File

@@ -58,15 +58,15 @@ public final class StaticIpConfiguration implements Parcelable {
@Nullable
public LinkAddress ipAddress;
/** @hide */
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
@UnsupportedAppUsage
@Nullable
public InetAddress gateway;
/** @hide */
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
@UnsupportedAppUsage
@NonNull
public final ArrayList<InetAddress> dnsServers;
/** @hide */
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
@UnsupportedAppUsage
@Nullable
public String domains;