Bug 944635 - B2G RIL: Exception in updateDisplayCondition() ... "TypeError: RIL.operator is null". r=HsinYi

This commit is contained in:
Shawn Ku 2014-06-23 11:47:33 +08:00
parent 53b6832cca
commit 8e4824a6f8

View File

@ -13936,8 +13936,8 @@ ICCUtilsHelperObject.prototype = {
}
} else {
// GSM family display rule.
let operatorMnc = RIL.operator.mnc;
let operatorMcc = RIL.operator.mcc;
let operatorMnc = RIL.operator ? RIL.operator.mnc : -1;
let operatorMcc = RIL.operator ? RIL.operator.mcc : -1;
// First detect if we are on HPLMN or one of the PLMN
// specified by the SIM card.