]> sjero.net Git - linphone/commitdiff
decline calls while incall because multi call not supported yet
authorJehan Monnier <jehan.monnier@linphone.org>
Tue, 14 Dec 2010 14:11:24 +0000 (15:11 +0100)
committerJehan Monnier <jehan.monnier@linphone.org>
Tue, 14 Dec 2010 14:11:24 +0000 (15:11 +0100)
LinphoneCallImpl.java

index 74c701a7281eff3986413be63eb83ee1e0872a00..e2aad29a1640f2fabf84074407b7aeda552cc10e 100644 (file)
@@ -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;
+       }
 }