am 034fe21c: Merge "Assisted dialing support of MO SMS" into lmp-dev

* commit '034fe21c638960d8d67711f446c818b93e41641e':
  Assisted dialing support of MO SMS
This commit is contained in:
Amit Mahajan
2014-09-09 00:04:47 +00:00
committed by Android Git Automerger

View File

@@ -2339,8 +2339,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) {