Bug 812368 follow-up: fix system message broadcast. r=fabrice

This commit is contained in:
Philipp von Weitershausen 2012-11-28 11:23:56 -08:00
parent 0978be1fab
commit 5f87968c7c

View File

@ -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) {