summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2010-08-11 11:12:05 +0800
committerChung-yih Wang <cywang@google.com>2010-08-11 11:13:49 +0800
commitf57324cf4f82947296f4d1acb9df1f3c9c03134e (patch)
treeb7a3d0f4b40ca956b9fd60ced8f0bddba3f98d69
parentfbb936bfab22cb1c3748cccffe67f42f7d764b54 (diff)
downloadframeworks_base-f57324cf4f82947296f4d1acb9df1f3c9c03134e.zip
frameworks_base-f57324cf4f82947296f4d1acb9df1f3c9c03134e.tar.gz
frameworks_base-f57324cf4f82947296f4d1acb9df1f3c9c03134e.tar.bz2
Add getSipUri() for identification.
Change-Id: Iabffd38ad554c34a34977c833e6699747cbf0f63
-rwxr-xr-xtelephony/java/com/android/internal/telephony/sip/SipPhone.java4
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;