From 77ea3ee5ec0fbd4bc98dbd8c1d62702cff9daa34 Mon Sep 17 00:00:00 2001 From: Xia Ying Date: Mon, 21 Jul 2014 20:24:56 -0500 Subject: [PATCH] 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 --- telephony/java/android/telephony/PhoneNumberUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/telephony/java/android/telephony/PhoneNumberUtils.java b/telephony/java/android/telephony/PhoneNumberUtils.java index 8af5e98dd7fc6..5598178cdfbfd 100644 --- a/telephony/java/android/telephony/PhoneNumberUtils.java +++ b/telephony/java/android/telephony/PhoneNumberUtils.java @@ -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) {