From cce1a7abfc4f88b00732883fe26875a1365c8b5f Mon Sep 17 00:00:00 2001 From: Vicamo Yang Date: Fri, 6 Apr 2012 17:49:54 -0700 Subject: [PATCH] Bug 743179 - B2G SMS: error notification for REQUEST_GET_SMSC_ADDRESS failure is not fired. r=philikon --- dom/system/gonk/ril_worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/system/gonk/ril_worker.js b/dom/system/gonk/ril_worker.js index cf27001d579..0a3f14670ff 100644 --- a/dom/system/gonk/ril_worker.js +++ b/dom/system/gonk/ril_worker.js @@ -2233,7 +2233,7 @@ RIL[REQUEST_DEVICE_IDENTITY] = null; RIL[REQUEST_EXIT_EMERGENCY_CALLBACK_MODE] = null; RIL[REQUEST_GET_SMSC_ADDRESS] = function REQUEST_GET_SMSC_ADDRESS(length, options) { if (options.rilRequestError) { - if (options.body) { + if (options.type == "sendSMS") { this.sendDOMMessage({ type: "sms-send-failed", envelopeId: options.envelopeId,