B2G/gecko/dom/system/gonk/RadioInterfaceLayer.js
/**
   * Handle call state changes by updating our current state and the audio
   * system.
   */
Handle call state changes by updating our current state and the audio
system.
Handle call state changes by updating our current state and the audio system .
function handleCallStateChange(call) {
    debug("handleCallStateChange: " + JSON.stringify(call));
    call.state = convertRILCallState(call.state);
    if (call.state == nsIRadioInterfaceLayer.CALL_STATE_DIALING) {
      gSystemMessenger.broadcastMessage("telephony-new-call", {});
    }
    this.updateCallAudioState(call);
    this._sendTargetMessage("telephony", "RIL:CallStateChanged", call);
  }
function handleCallStateChange ( call ) { debug ( "handleCallStateChange: " + JSON . stringify ( call ) ) ; call . state = convertRILCallState ( call . state ) ; if ( call . state == nsIRadioInterfaceLayer . CALL_STATE_DIALING ) { gSystemMessenger . broadcastMessage ( "telephony-new-call" , { } ) ; } this . updateCallAudioState ( call ) ; this . _sendTargetMessage ( "telephony" , "RIL:CallStateChanged" , call ) ; }
Handle call state changes by updating our current state and the audio
 system.
Handle call state changes by updating our current state and the audio system .