mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix issues/behaviour on smartphones + update linphone/ms2/ortp
This commit is contained in:
parent
d0501c8328
commit
058e011ce1
1 changed files with 2 additions and 4 deletions
|
|
@ -20,8 +20,6 @@ package org.linphone.core;
|
|||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
|
|
@ -542,9 +540,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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue