Important ms2 update + Java 1.3 compatible
This commit is contained in:
parent
9972f63f14
commit
66e118a010
2 changed files with 3 additions and 3 deletions
|
@ -542,9 +542,9 @@ class LinphoneCoreImpl implements LinphoneCore {
|
||||||
terminateAllCalls(nativePtr);
|
terminateAllCalls(nativePtr);
|
||||||
}
|
}
|
||||||
private native Object getCall(long nativePtr, int position);
|
private native Object getCall(long nativePtr, int position);
|
||||||
@SuppressWarnings("unchecked") public synchronized List getCalls() {
|
@SuppressWarnings("unchecked") public synchronized Vector getCalls() {
|
||||||
int size = getCallsNb(nativePtr);
|
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++) {
|
for (int i=0; i < size; i++) {
|
||||||
calls.add((LinphoneCall)getCall(nativePtr, i));
|
calls.add((LinphoneCall)getCall(nativePtr, i));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 2111e92a393cd0cbf3934ea1de406904f0d34bca
|
Subproject commit edad295e0596eebc7ca4aed7472e0e3bdc696b41
|
Loading…
Reference in a new issue