diff --git a/LinphoneCoreImpl.java b/LinphoneCoreImpl.java index 92faacc55..597f647f3 100644 --- a/LinphoneCoreImpl.java +++ b/LinphoneCoreImpl.java @@ -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 calls = new ArrayList(size); + Vector calls = new Vector(size); for (int i=0; i < size; i++) { calls.add((LinphoneCall)getCall(nativePtr, i)); }