Merge "Fix the issue of onNetwork in UI thread."
This commit is contained in:
@@ -528,12 +528,8 @@ class SipSessionGroup implements SipListener {
|
||||
public void answerCall(String sessionDescription, int timeout) {
|
||||
synchronized (SipSessionGroup.this) {
|
||||
if (mPeerProfile == null) return;
|
||||
try {
|
||||
processCommand(new MakeCallCommand(mPeerProfile,
|
||||
sessionDescription, timeout));
|
||||
} catch (SipException e) {
|
||||
onError(e);
|
||||
}
|
||||
doCommandAsync(new MakeCallCommand(mPeerProfile,
|
||||
sessionDescription, timeout));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user