summaryrefslogtreecommitdiffstats
path: root/telephony/java/android
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2010-09-08 13:15:55 +0800
committerChung-yih Wang <cywang@google.com>2010-09-08 18:26:05 +0800
commit6f0f870f16003adc60e0c5f37c86b2d5e7895940 (patch)
tree3cc061bc51fe54411033381606ed79bec4c2eb5d /telephony/java/android
parent6aec2250108b7db774643bbc088590138099adb6 (diff)
downloadframeworks_base-6f0f870f16003adc60e0c5f37c86b2d5e7895940.zip
frameworks_base-6f0f870f16003adc60e0c5f37c86b2d5e7895940.tar.gz
frameworks_base-6f0f870f16003adc60e0c5f37c86b2d5e7895940.tar.bz2
Fix the dialing from contact for internet address.
the bug is http://b/issue?id=2982290 +Log outbound proxy address if exists for debugging.
Diffstat (limited to 'telephony/java/android')
-rw-r--r--telephony/java/android/telephony/PhoneNumberUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/PhoneNumberUtils.java b/telephony/java/android/telephony/PhoneNumberUtils.java
index f5c6909..b4a3c95 100644
--- a/telephony/java/android/telephony/PhoneNumberUtils.java
+++ b/telephony/java/android/telephony/PhoneNumberUtils.java
@@ -130,7 +130,7 @@ public class PhoneNumberUtils
Uri uri = intent.getData();
String scheme = uri.getScheme();
- if (scheme.equals("tel")) {
+ if (scheme.equals("tel") || scheme.equals("sip")) {
return uri.getSchemeSpecificPart();
}