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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user