Bug 740300 - B2G RIL: improper behavior in RadioStateChange. r=philikon
authorYoshi Huang <yhuang@mozilla.com>
Mon, 02 Apr 2012 10:57:38 +0800
changeset 91502 018d0d6cd9b09bb7b56f77f22615f5899e424278
parent 91501 a19f6f1a4615aa8156b839c5f33f2d379f439de8
child 91503 1a445c628b535e303f5b61d52af78bf9deed30b4
push id8250
push userpweitershausen@mozilla.com
push dateThu, 12 Apr 2012 10:53:55 +0000
treeherdermozilla-inbound@018d0d6cd9b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersphilikon
bugs740300
milestone14.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
Bug 740300 - B2G RIL: improper behavior in RadioStateChange. r=philikon
dom/system/gonk/ril_worker.js
--- a/dom/system/gonk/ril_worker.js
+++ b/dom/system/gonk/ril_worker.js
@@ -2356,22 +2356,16 @@ RIL[UNSOLICITED_RESPONSE_RADIO_STATE_CHA
   });
 
   // If the radio is up and on, so let's query the card state.
   // On older RILs only if the card is actually ready, though.
   if (radioState == RADIO_STATE_UNAVAILABLE ||
       radioState == RADIO_STATE_OFF) {
     return;
   }
-  if (RILQUIRKS_V5_LEGACY &&
-      (radioState == RADIO_STATE_SIM_NOT_READY ||
-       radioState == RADIO_STATE_RUIM_NOT_READY ||
-       radioState == RADIO_STATE_NV_NOT_READY)) {
-    return;
-  }
   this.getICCStatus();
 };
 RIL[UNSOLICITED_RESPONSE_CALL_STATE_CHANGED] = function UNSOLICITED_RESPONSE_CALL_STATE_CHANGED() {
   this.getCurrentCalls();
 };
 RIL[UNSOLICITED_RESPONSE_VOICE_NETWORK_STATE_CHANGED] = function UNSOLICITED_RESPONSE_VOICE_NETWORK_STATE_CHANGED() {
   if (DEBUG) debug("Network state changed, re-requesting phone state.");
   this.requestNetworkInfo();