From 2f3925c7ee65d74869e98029a0a15473826cb8b3 Mon Sep 17 00:00:00 2001 From: Chia-hung Tai Date: Tue, 16 Apr 2013 21:50:15 +0800 Subject: [PATCH] Bug 862050 : When mms apn is the same as default apn, the cellphone can't get data call connection. r=vyang --- dom/mms/src/ril/MmsService.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom/mms/src/ril/MmsService.js b/dom/mms/src/ril/MmsService.js index 277f0a85411..c8efa87b3e3 100644 --- a/dom/mms/src/ril/MmsService.js +++ b/dom/mms/src/ril/MmsService.js @@ -159,6 +159,8 @@ XPCOMUtils.defineLazyGetter(this, "gMmsConnection", function () { "available later."); this.clearMmsProxySettings(); } + this.connected = gRIL.getDataCallStateByType("mms") == + Ci.nsINetworkInterface.NETWORK_STATE_CONNECTED; }, /**