Merge "Add + code handling logic for SMS Global Roaming"
This commit is contained in:
@@ -2285,9 +2285,13 @@ public class PhoneNumberUtils
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static String getCurrentIdp(boolean useNanp) {
|
private static String getCurrentIdp(boolean useNanp) {
|
||||||
// in case, there is no IDD is found, we shouldn't convert it.
|
String ps = null;
|
||||||
String ps = SystemProperties.get(
|
if(useNanp)
|
||||||
PROPERTY_OPERATOR_IDP_STRING, useNanp ? NANP_IDP_STRING : PLUS_SIGN_STRING);
|
ps = NANP_IDP_STRING;
|
||||||
|
else{
|
||||||
|
// in case, there is no IDD is found, we shouldn't convert it.
|
||||||
|
ps = SystemProperties.get(PROPERTY_OPERATOR_IDP_STRING, PLUS_SIGN_STRING);
|
||||||
|
}
|
||||||
return ps;
|
return ps;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user