зеркало из https://github.com/mozilla/gecko-dev.git
Bug 723372 - B2G telephony: audio should be turned on during dialing + ringing. r=bent DONTBUILD because NPOTB
This commit is contained in:
Родитель
d7c3df3c6d
Коммит
20d0dc2574
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче