Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f57324cf authored by Chung-yih Wang's avatar Chung-yih Wang
Browse files

Add getSipUri() for identification.

Change-Id: Iabffd38ad554c34a34977c833e6699747cbf0f63
parent fbb936bf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;