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

Commit 2143ade8 authored by Chung-yih Wang's avatar Chung-yih Wang Committed by Android Git Automerger
Browse files

am b12baad9: Add equals() funcation for SipPhone.

Merge commit 'b12baad9' into gingerbread-plus-aosp

* commit 'b12baad9':
  Add equals() funcation for SipPhone.
parents a060b5f7 b12baad9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -107,6 +107,10 @@ public class SipPhone extends SipPhoneBase {
        return mProfile.getUriString();
    }

    public boolean equals(SipPhone phone) {
        return getSipUri().equals(phone.getSipUri()));
    }

    public boolean canTake(Object incomingCall) {
        synchronized (SipPhone.class) {
            if (!(incomingCall instanceof SipAudioCall)) return false;