diff options
author | Chung-yih Wang <cywang@google.com> | 2010-08-11 11:12:05 +0800 |
---|---|---|
committer | Chung-yih Wang <cywang@google.com> | 2010-08-11 11:13:49 +0800 |
commit | f57324cf4f82947296f4d1acb9df1f3c9c03134e (patch) | |
tree | b7a3d0f4b40ca956b9fd60ced8f0bddba3f98d69 /telephony | |
parent | fbb936bfab22cb1c3748cccffe67f42f7d764b54 (diff) | |
download | frameworks_base-f57324cf4f82947296f4d1acb9df1f3c9c03134e.zip frameworks_base-f57324cf4f82947296f4d1acb9df1f3c9c03134e.tar.gz frameworks_base-f57324cf4f82947296f4d1acb9df1f3c9c03134e.tar.bz2 |
Add getSipUri() for identification.
Change-Id: Iabffd38ad554c34a34977c833e6699747cbf0f63
Diffstat (limited to 'telephony')
-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 edc1f8a..a94518f 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; |