[Telephony] Clean up: remove getApnTypeStringInternal

Bug: 181696914
Test: make
Change-Id: Ia79bb9eaa1fc43a2995730da47289274f94d67fe
This commit is contained in:
Zoey Chen
2021-04-27 21:18:52 +08:00
parent 41b21288eb
commit 6930ca1e6d

View File

@@ -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.
*