author | Hubert Figuière <hfiguiere@mozilla.com> |
Fri, 04 Jan 2013 11:27:29 -0500 | |
changeset 117737 | a55044631d140b83ad2f5cd07037972b850d59db |
parent 117736 | 07fa18b4c450d3289519e60fa3592a644857d2c3 |
child 117738 | 1be4b28a143d1272f5ab6c62dbf80c7f0c8deb88 |
push id | 24110 |
push user | philringnalda@gmail.com |
push date | Sat, 05 Jan 2013 23:57:49 +0000 |
treeherder | mozilla-central@20d1a5916ef6 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | sicking |
bugs | 826297 |
milestone | 20.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/system/gonk/RILContentHelper.js +++ b/dom/system/gonk/RILContentHelper.js @@ -879,17 +879,19 @@ RILContentHelper.prototype = { if (this.cardState != msg.json.cardState) { this.cardState = msg.json.cardState; Services.obs.notifyObservers(null, kCardStateChangedTopic, null); } break; case "RIL:IccInfoChanged": this.updateICCInfo(msg.json, this.iccInfo); if (this.iccInfo.mcc) { - Services.prefs.setIntPref("ril.lastKnownMcc", this.iccInfo.mcc); + try { + Services.prefs.setIntPref("ril.lastKnownMcc", this.iccInfo.mcc); + } catch (e) {} } Services.obs.notifyObservers(null, kIccInfoChangedTopic, null); break; case "RIL:VoiceInfoChanged": this.updateConnectionInfo(msg.json, this.voiceConnectionInfo); Services.obs.notifyObservers(null, kVoiceChangedTopic, null); break; case "RIL:DataInfoChanged":