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

Commit f823445e authored by Jayachandran C's avatar Jayachandran C
Browse files

Remove usage of hidden API TelephonyManager.getNetworkTypeName(int)

This CL deletes the reference to this API as its used in a dead code
which is used for debugging only.

Bug: 140908357
Test: Build
Change-Id: I9fa1996ab5fdb5ab884128d06c2e92bab164dea7
parent 3c397a62
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.os.Build;
import android.service.NetworkIdentityProto;
import android.telephony.TelephonyManager;
import android.util.Slog;
import android.util.proto.ProtoOutputStream;

@@ -98,8 +97,6 @@ public class NetworkIdentity implements Comparable<NetworkIdentity> {
        builder.append(", subType=");
        if (COMBINE_SUBTYPE_ENABLED) {
            builder.append("COMBINED");
        } else if (ConnectivityManager.isNetworkTypeMobile(mType)) {
            builder.append(TelephonyManager.getNetworkTypeName(mSubType));
        } else {
            builder.append(mSubType);
        }