Bug 1013847 - Part 1-2: Don't need to cache iccStatus in RilObject. r=hsinyi

This commit is contained in:
Edgar Chen 2014-08-20 16:10:38 +08:00
parent c4a10c3c96
commit 1cdc5ada1e

View File

@ -444,12 +444,6 @@ RilObject.prototype = {
*/
this._waitingRadioTech = false;
/**
* ICC status. Keeps a reference of the data response to the
* getICCStatus request.
*/
this.iccStatus = null;
/**
* Card state
*/
@ -3453,7 +3447,6 @@ RilObject.prototype = {
return;
}
this.iccStatus = iccStatus;
let newCardState;
let index = this._isCdma ? iccStatus.cdmaSubscriptionAppIndex :
iccStatus.gsmUmtsSubscriptionAppIndex;