Bug 723372 - B2G telephony: audio should be turned on during dialing + ringing. r=bent DONTBUILD because NPOTB

This commit is contained in:
Philipp von Weitershausen 2012-02-02 11:12:32 -08:00
Родитель d7c3df3c6d
Коммит 20d0dc2574
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -241,7 +241,9 @@ RadioInterfaceLayer.prototype = {
handleCallStateChange: function handleCallStateChange(call) {
debug("handleCallStateChange: " + JSON.stringify(call));
call.state = convertRILCallState(call.state);
if (call.state == nsIRadioInterfaceLayer.CALL_STATE_CONNECTED) {
if (call.state == nsIRadioInterfaceLayer.CALL_STATE_DIALING ||
call.state == nsIRadioInterfaceLayer.CALL_STATE_RINGING ||
call.state == nsIRadioInterfaceLayer.CALL_STATE_CONNECTED) {
// This is now the active call.
this._activeCall = call;
}