Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d38b96e9 authored by Nathan Harold's avatar Nathan Harold
Browse files

Remove StringNetworkSpecifier

Due to issues with @Deprecated @removed, manually remove
StringNetworkSpecifier. This API was never in any released
API surface; it was planned to be added in R; however, the
need was superseded by TelephonyNetworkSpecifier.

"Aaaaand it's gone!"

Bug: 147441267
Test: make aosp_bramble-userdebug
Change-Id: I9bae68a60f3cdb77203ba61ea8a08f64e597cf08
parent 948c4086
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -4640,15 +4640,6 @@ package android.net {
    method @NonNull public android.net.StaticIpConfiguration.Builder setIpAddress(@Nullable android.net.LinkAddress);
  }
  public final class StringNetworkSpecifier extends android.net.NetworkSpecifier implements android.os.Parcelable {
    ctor public StringNetworkSpecifier(@NonNull String);
    method public int describeContents();
    method public boolean satisfiedBy(android.net.NetworkSpecifier);
    method public void writeToParcel(@NonNull android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.net.StringNetworkSpecifier> CREATOR;
    field @NonNull public final String specifier;
  }
  public final class TelephonyNetworkSpecifier extends android.net.NetworkSpecifier implements android.os.Parcelable {
    method public boolean satisfiedBy(android.net.NetworkSpecifier);
  }
+0 −2
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
package android.net;

import android.annotation.NonNull;
import android.annotation.SystemApi;
import android.os.Parcel;
import android.os.Parcelable;
import android.text.TextUtils;
@@ -27,7 +26,6 @@ import com.android.internal.util.Preconditions;
import java.util.Objects;

/** @hide */
@SystemApi
public final class StringNetworkSpecifier extends NetworkSpecifier implements Parcelable {
    /**
     * Arbitrary string used to pass (additional) information to the network factory.