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

Commit 9de336c0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "[Telephony] Clean up: remove getApnTypeStringInternal" into sc-dev am: 89cc25da

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14326965

Change-Id: I34d784df687c89a85d62450f0f2b040bd631e586
parents bf6e4a99 89cc25da
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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.
     *