]> sjero.net Git - linphone/commitdiff
Enhance conference activity style + permute calls.
authorGuillaume Beraudo <guillaume.beraudo@belledonne-communications.com>
Fri, 7 Oct 2011 07:52:59 +0000 (09:52 +0200)
committerGuillaume Beraudo <guillaume.beraudo@belledonne-communications.com>
Fri, 7 Oct 2011 08:15:46 +0000 (10:15 +0200)
LinphoneCoreImpl.java

index 8a40cdb9f3e4346443ea7aeb02184eb2401d6b1d..0f91922d7a3de8545d4dcda81133e43dfde7f435 100644 (file)
@@ -522,12 +522,12 @@ class LinphoneCoreImpl implements LinphoneCore {
        public synchronized void terminateAllCalls() {
                terminateAllCalls(nativePtr);
        }
-       private native long getCall(long nativePtr, int position);
+       private native Object getCall(long nativePtr, int position);
        @SuppressWarnings("unchecked") public synchronized List getCalls() {
                int size = getCallsNb(nativePtr);
                List<LinphoneCall> calls = new ArrayList<LinphoneCall>(size);
                for (int i=0; i < size; i++) {
-                       calls.add(new LinphoneCallImpl(getCall(nativePtr, i)));
+                       calls.add((LinphoneCall)getCall(nativePtr, i));
                }
                return calls;
        }