Loading voip/java/com/android/server/sip/SipSessionGroup.java +13 −13 Original line number Diff line number Diff line Loading @@ -527,6 +527,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)); Loading @@ -534,20 +536,18 @@ class SipSessionGroup implements SipListener { onError(e); } } } public void endCall() { doCommandAsync(END_CALL); } public void changeCall(String sessionDescription, int timeout) { doCommandAsync(new MakeCallCommand(mPeerProfile, sessionDescription, timeout)); synchronized (SipSessionGroup.this) { if (mPeerProfile == null) return; doCommandAsync(new MakeCallCommand(mPeerProfile, sessionDescription, timeout)); } public void changeCallWithTimeout( String sessionDescription, int timeout) { doCommandAsync(new MakeCallCommand(mPeerProfile, sessionDescription, timeout)); } public void register(int duration) { Loading Loading
voip/java/com/android/server/sip/SipSessionGroup.java +13 −13 Original line number Diff line number Diff line Loading @@ -527,6 +527,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)); Loading @@ -534,20 +536,18 @@ class SipSessionGroup implements SipListener { onError(e); } } } public void endCall() { doCommandAsync(END_CALL); } public void changeCall(String sessionDescription, int timeout) { doCommandAsync(new MakeCallCommand(mPeerProfile, sessionDescription, timeout)); synchronized (SipSessionGroup.this) { if (mPeerProfile == null) return; doCommandAsync(new MakeCallCommand(mPeerProfile, sessionDescription, timeout)); } public void changeCallWithTimeout( String sessionDescription, int timeout) { doCommandAsync(new MakeCallCommand(mPeerProfile, sessionDescription, timeout)); } public void register(int duration) { Loading