am 66907078: Merge "Fix the dialing from contact for internet address." into gingerbread

Merge commit '669070787cc10377c2e5c3fa187babc728d96245' into gingerbread-plus-aosp

* commit '669070787cc10377c2e5c3fa187babc728d96245':
  Fix the dialing from contact for internet address.
This commit is contained in:
Chung-yih Wang
2010-09-08 10:32:13 -07:00
committed by Android Git Automerger

View File

@ -136,7 +136,7 @@ public class PhoneNumberUtils
Uri uri = intent.getData(); Uri uri = intent.getData();
String scheme = uri.getScheme(); String scheme = uri.getScheme();
if (scheme.equals("tel")) { if (scheme.equals("tel") || scheme.equals("sip")) {
return uri.getSchemeSpecificPart(); return uri.getSchemeSpecificPart();
} }