Loading src/java/com/android/internal/telephony/GsmCdmaCallTracker.java +1 −1 Original line number Diff line number Diff line Loading @@ -414,7 +414,7 @@ public class GsmCdmaCallTracker extends CallTracker { TelephonyManager tm = (TelephonyManager) mPhone.getContext().getSystemService(Context.TELEPHONY_SERVICE); String origNumber = dialString; String operatorIsoContry = tm.getNetworkCountryIsoForPhone(mPhone.getPhoneId()); String operatorIsoContry = tm.getNetworkCountryIso(mPhone.getPhoneId()); String simIsoContry = tm.getSimCountryIsoForPhone(mPhone.getPhoneId()); boolean internationalRoaming = !TextUtils.isEmpty(operatorIsoContry) && !TextUtils.isEmpty(simIsoContry) Loading src/java/com/android/internal/telephony/NitzStateMachine.java +1 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,7 @@ public interface NitzStateMachine { @Override @Nullable public String getNetworkCountryIsoForPhone() { return mTelephonyManager.getNetworkCountryIsoForPhone(mPhone.getPhoneId()); return mTelephonyManager.getNetworkCountryIso(mPhone.getPhoneId()); } @Override Loading src/java/com/android/internal/telephony/SMSDispatcher.java +2 −2 Original line number Diff line number Diff line Loading @@ -1241,7 +1241,7 @@ public abstract class SMSDispatcher extends Handler { if (simCountryIso == null || simCountryIso.length() != 2) { Rlog.e(TAG, "Can't get SIM country Iso: trying network country Iso"); simCountryIso = mTelephonyManager.getNetworkCountryIsoForPhone(mPhone.getPhoneId()); mTelephonyManager.getNetworkCountryIso(mPhone.getPhoneId()); } smsCategory = Loading @@ -1251,7 +1251,7 @@ public abstract class SMSDispatcher extends Handler { } if (rule == PREMIUM_RULE_USE_NETWORK || rule == PREMIUM_RULE_USE_BOTH) { String networkCountryIso = mTelephonyManager.getNetworkCountryIsoForPhone(mPhone.getPhoneId()); mTelephonyManager.getNetworkCountryIso(mPhone.getPhoneId()); if (networkCountryIso == null || networkCountryIso.length() != 2) { Rlog.e(TAG, "Can't get Network country Iso: trying SIM country Iso"); networkCountryIso = Loading Loading
src/java/com/android/internal/telephony/GsmCdmaCallTracker.java +1 −1 Original line number Diff line number Diff line Loading @@ -414,7 +414,7 @@ public class GsmCdmaCallTracker extends CallTracker { TelephonyManager tm = (TelephonyManager) mPhone.getContext().getSystemService(Context.TELEPHONY_SERVICE); String origNumber = dialString; String operatorIsoContry = tm.getNetworkCountryIsoForPhone(mPhone.getPhoneId()); String operatorIsoContry = tm.getNetworkCountryIso(mPhone.getPhoneId()); String simIsoContry = tm.getSimCountryIsoForPhone(mPhone.getPhoneId()); boolean internationalRoaming = !TextUtils.isEmpty(operatorIsoContry) && !TextUtils.isEmpty(simIsoContry) Loading
src/java/com/android/internal/telephony/NitzStateMachine.java +1 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,7 @@ public interface NitzStateMachine { @Override @Nullable public String getNetworkCountryIsoForPhone() { return mTelephonyManager.getNetworkCountryIsoForPhone(mPhone.getPhoneId()); return mTelephonyManager.getNetworkCountryIso(mPhone.getPhoneId()); } @Override Loading
src/java/com/android/internal/telephony/SMSDispatcher.java +2 −2 Original line number Diff line number Diff line Loading @@ -1241,7 +1241,7 @@ public abstract class SMSDispatcher extends Handler { if (simCountryIso == null || simCountryIso.length() != 2) { Rlog.e(TAG, "Can't get SIM country Iso: trying network country Iso"); simCountryIso = mTelephonyManager.getNetworkCountryIsoForPhone(mPhone.getPhoneId()); mTelephonyManager.getNetworkCountryIso(mPhone.getPhoneId()); } smsCategory = Loading @@ -1251,7 +1251,7 @@ public abstract class SMSDispatcher extends Handler { } if (rule == PREMIUM_RULE_USE_NETWORK || rule == PREMIUM_RULE_USE_BOTH) { String networkCountryIso = mTelephonyManager.getNetworkCountryIsoForPhone(mPhone.getPhoneId()); mTelephonyManager.getNetworkCountryIso(mPhone.getPhoneId()); if (networkCountryIso == null || networkCountryIso.length() != 2) { Rlog.e(TAG, "Can't get Network country Iso: trying SIM country Iso"); networkCountryIso = Loading