mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Bug 812368 follow-up: fix system message broadcast. r=fabrice
This commit is contained in:
parent
92762de663
commit
d4564c2b7d
@ -1147,7 +1147,7 @@ RadioInterfaceLayer.prototype = {
|
||||
* to start bringing up the Phone app already.
|
||||
*/
|
||||
handleCallRing: function handleCallRing() {
|
||||
gSystemMessenger.broadcastMessage("telephony-new-call");
|
||||
gSystemMessenger.broadcastMessage("telephony-new-call", {});
|
||||
},
|
||||
|
||||
/**
|
||||
@ -1159,7 +1159,7 @@ RadioInterfaceLayer.prototype = {
|
||||
call.state = convertRILCallState(call.state);
|
||||
|
||||
if (call.state == nsIRadioInterfaceLayer.CALL_STATE_DIALING) {
|
||||
gSystemMessenger.broadcastMessage("telephony-new-call");
|
||||
gSystemMessenger.broadcastMessage("telephony-new-call", {});
|
||||
}
|
||||
|
||||
if (call.isActive) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user