Loading telephony/java/android/telephony/data/ApnSetting.java +0 −10 Original line number Diff line number Diff line Loading @@ -1567,16 +1567,6 @@ public class ApnSetting implements Parcelable { return apnTypeString == null ? "" : apnTypeString; } /** * Same as {@link #getApnTypeString(int)}, but returns "Unknown" instead of an empty string * when provided with an invalid int for compatibility purposes. * @hide */ public static @NonNull String getApnTypeStringInternal(@ApnType int apnType) { String result = getApnTypeString(apnType); return TextUtils.isEmpty(result) ? "Unknown" : result; } /** * Converts the string representation of an APN type to its integer representation. * Loading Loading
telephony/java/android/telephony/data/ApnSetting.java +0 −10 Original line number Diff line number Diff line Loading @@ -1567,16 +1567,6 @@ public class ApnSetting implements Parcelable { return apnTypeString == null ? "" : apnTypeString; } /** * Same as {@link #getApnTypeString(int)}, but returns "Unknown" instead of an empty string * when provided with an invalid int for compatibility purposes. * @hide */ public static @NonNull String getApnTypeStringInternal(@ApnType int apnType) { String result = getApnTypeString(apnType); return TextUtils.isEmpty(result) ? "Unknown" : result; } /** * Converts the string representation of an APN type to its integer representation. * Loading