am 24547592: Fix the startAudio order for 3-way calls.

Merge commit '245475925eff61ee76bde58de69253a889e39d0a' into gingerbread-plus-aosp

* commit '245475925eff61ee76bde58de69253a889e39d0a':
  Fix the startAudio order for 3-way calls.
This commit is contained in:
Chung-yih Wang
2010-09-27 22:58:59 -07:00
committed by Android Git Automerger

View File

@@ -642,14 +642,14 @@ public class SipPhone extends SipPhoneBase {
@Override
public void onCallEstablished(SipAudioCall call) {
call.startAudio();
onChanged(call);
if (mState == Call.State.ACTIVE) call.startAudio();
}
@Override
public void onCallHeld(SipAudioCall call) {
call.startAudio();
onChanged(call);
if (mState == Call.State.HOLDING) call.startAudio();
}
@Override