mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 812368 follow-up: fix system message broadcast. r=fabrice
This commit is contained in:
parent
0978be1fab
commit
5f87968c7c
@ -1147,7 +1147,7 @@ RadioInterfaceLayer.prototype = {
|
|||||||
* to start bringing up the Phone app already.
|
* to start bringing up the Phone app already.
|
||||||
*/
|
*/
|
||||||
handleCallRing: function handleCallRing() {
|
handleCallRing: function handleCallRing() {
|
||||||
gSystemMessenger.broadcastMessage("telephony-new-call");
|
gSystemMessenger.broadcastMessage("telephony-new-call", {});
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1159,7 +1159,7 @@ RadioInterfaceLayer.prototype = {
|
|||||||
call.state = convertRILCallState(call.state);
|
call.state = convertRILCallState(call.state);
|
||||||
|
|
||||||
if (call.state == nsIRadioInterfaceLayer.CALL_STATE_DIALING) {
|
if (call.state == nsIRadioInterfaceLayer.CALL_STATE_DIALING) {
|
||||||
gSystemMessenger.broadcastMessage("telephony-new-call");
|
gSystemMessenger.broadcastMessage("telephony-new-call", {});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (call.isActive) {
|
if (call.isActive) {
|
||||||
|
Loading…
Reference in New Issue
Block a user