mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 14:48:07 +00:00
Important ms2 update + Java 1.3 compatible
This commit is contained in:
parent
849f5c75d0
commit
cae534589d
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue