Merge "Add documentation in TelephonyManager#getNetworkCountryIso" into qt-r1-dev

This commit is contained in:
Shuo Qian
2019-08-02 21:43:53 +00:00
committed by Android (Google) Code Review

View File

@@ -2417,6 +2417,10 @@ public class TelephonyManager {
* registered operator or the cell nearby, if available. * registered operator or the cell nearby, if available.
* . * .
* <p> * <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 * Note: Result may be unreliable on CDMA networks (use {@link #getPhoneType()} to determine
* if on a CDMA network). * if on a CDMA network).
*/ */