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

Commit 7e0ae752 authored by Zoey Chen's avatar Zoey Chen Committed by Jack Yu
Browse files

[Telephony] Clean up: remove getApnTypeStringInternal

Bug: 181696914
Test: make
Merged-In: Ia79bb9eaa1fc43a2995730da47289274f94d67fe
Change-Id: Ia79bb9eaa1fc43a2995730da47289274f94d67fe
(cherry picked from commit 6930ca1e)
parent 3a72957b
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -1581,16 +1581,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.
     *