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

Commit 7f81046b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove incorrect annotation - @TransportType"

parents e07c943c 597b5b2a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ import android.net.NetworkSpecifier;
import android.net.StringNetworkSpecifier;
import android.net.wifi.WifiInfo;
import android.os.UserHandle;
import android.telephony.AccessNetworkConstants.TransportType;
import android.telephony.SubscriptionManager;
import android.telephony.TelephonyManager;
import android.text.TextUtils;
@@ -105,8 +104,7 @@ public class NetworkNotificationManager {
        return -1;
    }

    // TODO: Remove @TransportType or change it to @Transport.
    private static String getTransportName(@TransportType int transportType) {
    private static String getTransportName(final int transportType) {
        Resources r = Resources.getSystem();
        String[] networkTypes = r.getStringArray(R.array.network_switch_type_name);
        try {