Better add call, callee actions dialog, dtmf numpad.

Prevent situations where several calls use the sound resources
at the same time.
This commit is contained in:
Guillaume Beraudo 2011-10-27 10:43:15 +02:00
parent 5d05c29646
commit 9fa4af5159

View file

@ -590,6 +590,13 @@ class LinphoneCoreImpl implements LinphoneCore {
}
@Override
public boolean isMyself(String uri) {
return uri.equals(getDefaultProxyConfig().getIdentity());
LinphoneProxyConfig lpc = getDefaultProxyConfig();
if (lpc == null) return false;
return uri.equals(lpc.getIdentity());
}
private native boolean soundResourcesLocked(long nativePtr);
public boolean soundResourcesLocked() {
return soundResourcesLocked(nativePtr);
}
}