diff options
author | Nancy Chen <nancychen@google.com> | 2014-09-04 19:21:24 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-09-04 19:21:30 +0000 |
commit | 81a0cbcda3fbcb42d19fd8c5cf7877f3fb574405 (patch) | |
tree | c8f2d0536d2d7bf3200d3b0d4b633994d6e53686 /telephony | |
parent | 6e0a5aef30422eeb324398d782f0c4eec7df3a8e (diff) | |
parent | fe99099ea7dda76031343c8e412bd9f7cb816987 (diff) | |
download | frameworks_base-81a0cbcda3fbcb42d19fd8c5cf7877f3fb574405.zip frameworks_base-81a0cbcda3fbcb42d19fd8c5cf7877f3fb574405.tar.gz frameworks_base-81a0cbcda3fbcb42d19fd8c5cf7877f3fb574405.tar.bz2 |
Merge "Remove check for voicemail number when parsing URI phone number." into lmp-dev
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/android/telephony/PhoneNumberUtils.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/telephony/java/android/telephony/PhoneNumberUtils.java b/telephony/java/android/telephony/PhoneNumberUtils.java index acb97a0..8af5e98 100644 --- a/telephony/java/android/telephony/PhoneNumberUtils.java +++ b/telephony/java/android/telephony/PhoneNumberUtils.java @@ -164,14 +164,6 @@ public class PhoneNumberUtils return uri.getSchemeSpecificPart(); } - // TODO: We don't check for SecurityException here (requires - // CALL_PRIVILEGED permission). - if (scheme.equals("voicemail")) { - long subId = intent.getLongExtra(SUBSCRIPTION_KEY, - SubscriptionManager.getDefaultVoiceSubId()); - return TelephonyManager.getDefault().getCompleteVoiceMailNumber(subId); - } - if (context == null) { return null; } |