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

Commit 597c6bad authored by sqian's avatar sqian
Browse files

Add documentation in TelephonyManager#getNetworkCountryIso

In multi-sim, returns a shared emergency network country iso
 from other subscription if the subscription used to create the
 TelephonyManager doesn't camp on a network due to some reason
 (e.g. pin/puk locked), or sim is absent in the corresponding slot.

Test: unit test
Bug: 137236159
Bug: 137235431
Change-Id: I311e690d1f79ebefbc068c486d9bed814c129aab
Merged-In: I311e690d1f79ebefbc068c486d9bed814c129aab
(cherry picked from commit 8ab9550f)
parent ecc1ceb1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2327,6 +2327,10 @@ public class TelephonyManager {
     * <p>
     * The ISO-3166 country code is provided in lowercase 2 character format.
     * <p>
     * Note: In multi-sim, this returns a shared emergency network country iso from other
     * subscription if the subscription used to create the TelephonyManager doesn't camp on
     * a network due to some reason (e.g. pin/puk locked), or sim is absent in the corresponding
     * slot.
     * Note: Result may be unreliable on CDMA networks (use {@link #getPhoneType()} to determine
     * if on a CDMA network).
     * <p>