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

Commit 6dae2c8f authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN Committed by Android (Google) Code Review
Browse files

Merge "Remove Preconditions usage in TestNetworkSpecifier" into sc-dev

parents 636397a6 f790404d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -23,8 +23,6 @@ import android.os.Parcel;
import android.os.Parcelable;
import android.text.TextUtils;

import com.android.internal.util.Preconditions;

import java.util.Objects;

/**
@@ -43,7 +41,9 @@ public final class TestNetworkSpecifier extends NetworkSpecifier implements Parc
    private final String mInterfaceName;

    public TestNetworkSpecifier(@NonNull String interfaceName) {
        Preconditions.checkStringNotEmpty(interfaceName);
        if (TextUtils.isEmpty(interfaceName)) {
            throw new IllegalArgumentException("Empty interfaceName");
        }
        mInterfaceName = interfaceName;
    }