зеркало из https://github.com/mozilla/gecko-dev.git
Bug 836168 - B2G RIL: update audioPhoneState when rejecting an incoming call. r=allstars.chh, a=tef+
This commit is contained in:
Родитель
e2abfafb7d
Коммит
de6a8e9191
|
@ -1222,8 +1222,12 @@ RadioInterfaceLayer.prototype = {
|
|||
call.isActive = false;
|
||||
if (this._activeCall &&
|
||||
this._activeCall.callIndex == call.callIndex) {
|
||||
// Previously active call is not active now. Disable audio.
|
||||
// Previously active call is not active now.
|
||||
this._activeCall = null;
|
||||
}
|
||||
|
||||
if (!this._activeCall) {
|
||||
// No active call. Disable the audio.
|
||||
gAudioManager.phoneState = nsIAudioManager.PHONE_STATE_NORMAL;
|
||||
debug("No active call, put audio system into PHONE_STATE_NORMAL: "
|
||||
+ gAudioManager.phoneState);
|
||||
|
|
Загрузка…
Ссылка в новой задаче