Merge "Annotate StringNetworkSpecifier @Deprecated and @removed"

am: bd5a33f03b

Change-Id: I1c54215ef9f9ccb4357fb7cec1e22c48ef305bd3
This commit is contained in:
Rambo Wang
2020-01-17 12:35:11 -08:00
committed by android-build-merger
3 changed files with 22 additions and 10 deletions

View File

@@ -26,7 +26,16 @@ import com.android.internal.util.Preconditions;
import java.util.Objects;
/** @hide */
/**
* @deprecated use other subclass of {@link android.net.NetworkSpecifier},
* eg. {@link android.net.TelephonyNetworkSpecifier},
* {@link android.net.wifi.WifiNetworkSpecifier} instead.
* @see {@link android.net.NetworkRequest#setNetworkSpecifier(String)} for details.
* @removed this class was tentatively made SystemApi in December 2019 in the scramble for
* publishing mainline APIs, it should be removed before R release is published.
* @hide
*/
@Deprecated
@SystemApi
public final class StringNetworkSpecifier extends NetworkSpecifier implements Parcelable {
/**