From 521e1d27b6bf3305419473f3dea79c5d69dda60c Mon Sep 17 00:00:00 2001 From: Jessica Jong Date: Wed, 30 Oct 2013 12:03:54 +0800 Subject: [PATCH] Bug 818353 - Part 4: DOM changes - use default client id (0) in PhoneNumberUtils. f=edgar r=gwagner --- dom/phonenumberutils/PhoneNumberUtils.jsm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom/phonenumberutils/PhoneNumberUtils.jsm b/dom/phonenumberutils/PhoneNumberUtils.jsm index e2893cd3136c..d7594e212ccf 100644 --- a/dom/phonenumberutils/PhoneNumberUtils.jsm +++ b/dom/phonenumberutils/PhoneNumberUtils.jsm @@ -44,7 +44,8 @@ this.PhoneNumberUtils = { #ifdef MOZ_B2G_RIL // Get network mcc - let voice = mobileConnection.voiceConnectionInfo; + // TODO: Bug 926740 - PhoneNumberUtils for multisim + let voice = mobileConnection.getVoiceConnectionInfo(0); if (voice && voice.network && voice.network.mcc) { mcc = voice.network.mcc; }