]> sjero.net Git - linphone/commitdiff
Important ms2 update + Java 1.3 compatible
authorSylvain Berfini <Sylvain.Berfini@Belledonne-Communications.com>
Wed, 25 Apr 2012 12:29:28 +0000 (14:29 +0200)
committerSylvain Berfini <Sylvain.Berfini@Belledonne-Communications.com>
Wed, 25 Apr 2012 12:29:28 +0000 (14:29 +0200)
LinphoneCoreImpl.java

index 92faacc552f7e0de01d0c038bf3502fd888a3667..597f647f3326e80ae0a620b7e305580778b39862 100644 (file)
@@ -542,9 +542,9 @@ class LinphoneCoreImpl implements LinphoneCore {
                terminateAllCalls(nativePtr);
        }
        private native Object getCall(long nativePtr, int position);
-       @SuppressWarnings("unchecked") public synchronized List getCalls() {
+       @SuppressWarnings("unchecked") public synchronized Vector getCalls() {
                int size = getCallsNb(nativePtr);
-               List<LinphoneCall> calls = new ArrayList<LinphoneCall>(size);
+               Vector<LinphoneCall> calls = new Vector<LinphoneCall>(size);
                for (int i=0; i < size; i++) {
                        calls.add((LinphoneCall)getCall(nativePtr, i));
                }