mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
Fix second incoming call from same uri crash.
This commit is contained in:
parent
8a89467629
commit
f57826fb23
1 changed files with 7 additions and 0 deletions
|
|
@ -559,4 +559,11 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
public synchronized void transferCallToAnother(LinphoneCall call, LinphoneCall dest) {
|
||||
transferCallToAnother(nativePtr, getCallPtr(call), getCallPtr(dest));
|
||||
}
|
||||
|
||||
private native long findCallFromUri(long nativePtr, String uri);
|
||||
@Override
|
||||
public synchronized LinphoneCall findCallFromUri(String uri) {
|
||||
long callPtr = findCallFromUri(nativePtr, uri);
|
||||
return callPtr != 0 ? new LinphoneCallImpl(callPtr) : null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue