Bug 1062462 - Copy Icc Info from the message delivered by ril_worker instead of the one in rilContext. r=echen.

This commit is contained in:
Bevis Tseng 2015-04-16 20:01:55 +08:00
Родитель 7447125d12
Коммит a17e1df414
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -2265,7 +2265,8 @@ RadioInterface.prototype = {
gMessageManager.sendIccMessage("RIL:IccInfoChanged",
this.clientId,
message.iccid ? message : null);
gIccService.notifyIccInfoChanged(this.clientId, this.rilContext.iccInfo);
gIccService.notifyIccInfoChanged(this.clientId,
message.iccid ? message : null);
// Update lastKnownHomeNetwork.
if (message.mcc && message.mnc) {