am 9a025349: am 091c5238: Merge "SipAudioCall: perform local ops before network op in endCall()" into gingerbread
Merge commit '9a025349dc5a4e699fbe99a714f523e9903fa534' * commit '9a025349dc5a4e699fbe99a714f523e9903fa534': SipAudioCall: perform local ops before network op in endCall()
This commit is contained in:
@@ -343,8 +343,11 @@ public class SipAudioCallImpl extends SipSessionAdapter
|
||||
public synchronized void endCall() throws SipException {
|
||||
try {
|
||||
stopRinging();
|
||||
if (mSipSession != null) mSipSession.endCall();
|
||||
stopCall(true);
|
||||
mInCall = false;
|
||||
|
||||
// perform the above local ops first and then network op
|
||||
if (mSipSession != null) mSipSession.endCall();
|
||||
} catch (Throwable e) {
|
||||
throwSipException(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user