mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 836168 - B2G RIL: update audioPhoneState when rejecting an incoming call. r=allstars.chh
This commit is contained in:
parent
13aeaa3cca
commit
c6f64baff4
@ -1237,8 +1237,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);
|
||||
|
Loading…
Reference in New Issue
Block a user