From df734bfc9e9525bef6a85877f6667f27f47c2f56 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Tue, 14 Dec 2010 15:11:24 +0100 Subject: [PATCH] decline calls while incall because multi call not supported yet --- LinphoneCallImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LinphoneCallImpl.java b/LinphoneCallImpl.java index 74c701a72..e2aad29a1 100644 --- a/LinphoneCallImpl.java +++ b/LinphoneCallImpl.java @@ -31,6 +31,7 @@ class LinphoneCallImpl implements LinphoneCall { native private int getState(long nativePtr); private native long getCurrentParamsCopy(long nativePtr); private native void enableCamera(long nativePtr, boolean enabled); + protected LinphoneCallImpl(long aNativePtr) { nativePtr = aNativePtr; @@ -68,4 +69,7 @@ class LinphoneCallImpl implements LinphoneCall { public void enableCamera(boolean enabled) { enableCamera(nativePtr, enabled); } + public boolean equals(Object call) { + return nativePtr == ((LinphoneCallImpl)call).nativePtr; + } }