Loading telephony/java/android/telephony/PhoneNumberUtils.java +6 −1 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ import android.net.Uri; import android.os.SystemProperties; import android.provider.Contacts; import android.provider.ContactsContract; import android.provider.Settings; import android.text.Editable; import android.text.SpannableStringBuilder; import android.text.TextUtils; Loading Loading @@ -154,7 +155,11 @@ public class PhoneNumberUtils boolean isIPPrefix = intent.getBooleanExtra(IP_CALL, false); if (isIPPrefix && number != null && subscription < MSimTelephonyManager.getDefault().getPhoneCount()) { return IP_CALL_PREFIX + subscription + number; String IPPrefix = Settings.System.getString(context.getContentResolver(), IP_CALL_PREFIX + (subscription + 1)); if (!TextUtils.isEmpty(IPPrefix)) { return IPPrefix + number; } } return number; } Loading Loading
telephony/java/android/telephony/PhoneNumberUtils.java +6 −1 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ import android.net.Uri; import android.os.SystemProperties; import android.provider.Contacts; import android.provider.ContactsContract; import android.provider.Settings; import android.text.Editable; import android.text.SpannableStringBuilder; import android.text.TextUtils; Loading Loading @@ -154,7 +155,11 @@ public class PhoneNumberUtils boolean isIPPrefix = intent.getBooleanExtra(IP_CALL, false); if (isIPPrefix && number != null && subscription < MSimTelephonyManager.getDefault().getPhoneCount()) { return IP_CALL_PREFIX + subscription + number; String IPPrefix = Settings.System.getString(context.getContentResolver(), IP_CALL_PREFIX + (subscription + 1)); if (!TextUtils.isEmpty(IPPrefix)) { return IPPrefix + number; } } return number; } Loading