mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 08:39:20 +00:00
Enhance conference activity style + permute calls.
This commit is contained in:
parent
f57826fb23
commit
d8f8b82103
1 changed files with 2 additions and 2 deletions
|
|
@ -522,12 +522,12 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
public synchronized void terminateAllCalls() {
|
||||
terminateAllCalls(nativePtr);
|
||||
}
|
||||
private native long getCall(long nativePtr, int position);
|
||||
private native Object getCall(long nativePtr, int position);
|
||||
@SuppressWarnings("unchecked") public synchronized List getCalls() {
|
||||
int size = getCallsNb(nativePtr);
|
||||
List<LinphoneCall> calls = new ArrayList<LinphoneCall>(size);
|
||||
for (int i=0; i < size; i++) {
|
||||
calls.add(new LinphoneCallImpl(getCall(nativePtr, i)));
|
||||
calls.add((LinphoneCall)getCall(nativePtr, i));
|
||||
}
|
||||
return calls;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue