summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorXia Ying <yingxia@motorola.com>2014-07-21 20:24:56 -0500
committerAmit Mahajan <amitmahajan@google.com>2014-09-05 16:52:56 -0700
commit77ea3ee5ec0fbd4bc98dbd8c1d62702cff9daa34 (patch)
tree05a91bcc3c34cd0d40ca673db2227951b9cc7182 /telephony
parentcf2858d363cfde6024752998363ed1cb1436491d (diff)
downloadframeworks_base-77ea3ee5ec0fbd4bc98dbd8c1d62702cff9daa34.zip
frameworks_base-77ea3ee5ec0fbd4bc98dbd8c1d62702cff9daa34.tar.gz
frameworks_base-77ea3ee5ec0fbd4bc98dbd8c1d62702cff9daa34.tar.bz2
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
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/android/telephony/PhoneNumberUtils.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/PhoneNumberUtils.java b/telephony/java/android/telephony/PhoneNumberUtils.java
index 8af5e98..5598178 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) {