Making EthernetNetworkSpecifier public

Bug: 210485380
Test: atest EthernetServiceTests
atest CtsNetTestCasesLatestSdk

Change-Id: Ic0b7a3360745632eb024a97692e49f6c8dafa3ee
Merged-In: Ic0b7a3360745632eb024a97692e49f6c8dafa3ee
This commit is contained in:
James Mattis
2022-02-03 19:09:36 -08:00
parent b944ff1540
commit 81cab05410

View File

@@ -18,7 +18,6 @@ package android.net;
import android.annotation.NonNull; import android.annotation.NonNull;
import android.annotation.Nullable; import android.annotation.Nullable;
import android.annotation.SystemApi;
import android.os.Parcel; import android.os.Parcel;
import android.os.Parcelable; import android.os.Parcelable;
import android.text.TextUtils; import android.text.TextUtils;
@@ -29,9 +28,7 @@ import java.util.Objects;
* A {@link NetworkSpecifier} used to identify ethernet interfaces. * A {@link NetworkSpecifier} used to identify ethernet interfaces.
* *
* @see EthernetManager * @see EthernetManager
* @hide
*/ */
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
public final class EthernetNetworkSpecifier extends NetworkSpecifier implements Parcelable { public final class EthernetNetworkSpecifier extends NetworkSpecifier implements Parcelable {
/** /**
@@ -61,6 +58,7 @@ public final class EthernetNetworkSpecifier extends NetworkSpecifier implements
return mInterfaceName; return mInterfaceName;
} }
/** @hide */
@Override @Override
public boolean canBeSatisfiedBy(@Nullable NetworkSpecifier other) { public boolean canBeSatisfiedBy(@Nullable NetworkSpecifier other) {
return equals(other); return equals(other);