Bug 818353 - Part 4: DOM changes - use default client id (0) in PhoneNumberUtils. f=edgar r=gwagner

This commit is contained in:
Jessica Jong 2013-10-18 15:01:03 +08:00
parent 231d01beb0
commit 76c75631a0

View File

@ -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;
}