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

Commit 574c1ae8 authored by Lucas Lin's avatar Lucas Lin Committed by Automerger Merge Worker
Browse files

Merge "Remove unused method from MatchAllNetworkSpecifier" am: 6a5d57c2 am:...

Merge "Remove unused method from MatchAllNetworkSpecifier" am: 6a5d57c2 am: 2de61be9 am: ef5f51a4 am: 86007075

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1560475

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie509c218c6e04370abe760c1fedd831d294877db
parents 1b75eef4 86007075
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -32,17 +32,6 @@ import android.os.Parcelable;
 */
@SystemApi
public final class MatchAllNetworkSpecifier extends NetworkSpecifier implements Parcelable {
    /**
     * Utility method which verifies that the ns argument is not a MatchAllNetworkSpecifier and
     * throws an IllegalArgumentException if it is.
     * @hide
     */
    public static void checkNotMatchAllNetworkSpecifier(NetworkSpecifier ns) {
        if (ns instanceof MatchAllNetworkSpecifier) {
            throw new IllegalArgumentException("A MatchAllNetworkSpecifier is not permitted");
        }
    }

    /** @hide */
    @Override
    public boolean canBeSatisfiedBy(NetworkSpecifier other) {