Bug 1172873 - Suppress the notification of STK proactive command if there is no Icc detected. r=echen

This commit is contained in:
Bevis Tseng 2015-06-10 11:58:01 +08:00
Родитель af54ebf11f
Коммит 89637fe552
1 изменённых файлов: 5 добавлений и 0 удалений

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

@ -139,6 +139,11 @@ IccService.prototype = {
let icc = this.getIccByServiceId(aServiceId);
if (!icc.iccInfo || !icc.iccInfo.iccid) {
debug("Warning: got STK command when iccid is invalid.");
return;
}
gIccMessenger.notifyStkProactiveCommand(icc.iccInfo.iccid, aStkcommand);
icc._deliverListenerEvent("notifyStkCommand", [aStkcommand]);