Assisted dialing support of MO SMS

This is special for VZW requirement. Follow the specificaitons
of assisted dialing of MO SMS while traveling on VZW CDMA,
international CDMA or GSM markets.

Change-Id: I34a531b817095f4ce035f3f49a3bf7d6e2e8bc13
This commit is contained in:
Xia Ying
2014-07-21 20:24:56 -05:00
committed by Amit Mahajan
parent cf2858d363
commit 77ea3ee5ec

View File

@@ -2318,8 +2318,9 @@ public class PhoneNumberUtils
/**
* This function checks if the passed in string conforms to the NANP format
* i.e. NXX-NXX-XXXX, N is any digit 2-9 and X is any digit 0-9
* @hide
*/
private static boolean isNanp (String dialStr) {
public static boolean isNanp (String dialStr) {
boolean retVal = false;
if (dialStr != null) {
if (dialStr.length() == NANP_LENGTH) {