diff options
| author | 2010-08-10 20:47:18 -0700 | |
|---|---|---|
| committer | 2010-08-10 20:47:18 -0700 | |
| commit | 2c9de2b9e5568c8918b36866d3cf20833a8c20e1 (patch) | |
| tree | ceff0c097a09d479779b51ff638919269aae8d6e | |
| parent | 1ded9f95636a83298658bfcd840ae8e51127c714 (diff) | |
| parent | f57324cf4f82947296f4d1acb9df1f3c9c03134e (diff) | |
am f57324cf: Add getSipUri() for identification.
Merge commit 'f57324cf4f82947296f4d1acb9df1f3c9c03134e' into gingerbread-plus-aosp
* commit 'f57324cf4f82947296f4d1acb9df1f3c9c03134e':
Add getSipUri() for identification.
| -rwxr-xr-x | telephony/java/com/android/internal/telephony/sip/SipPhone.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/sip/SipPhone.java b/telephony/java/com/android/internal/telephony/sip/SipPhone.java index edc1f8ae75f9..a94518fa144a 100755 --- a/telephony/java/com/android/internal/telephony/sip/SipPhone.java +++ b/telephony/java/com/android/internal/telephony/sip/SipPhone.java @@ -102,6 +102,10 @@ public class SipPhone extends SipPhoneBase { return mProfile.getProfileName(); } + public String getSipUri() { + return mProfile.getUriString(); + } + public boolean canTake(Object incomingCall) { synchronized (SipPhone.class) { if (!(incomingCall instanceof SipAudioCall)) return false; |