зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1172873 - Suppress the notification of STK proactive command if there is no Icc detected. r=echen
This commit is contained in:
Родитель
af54ebf11f
Коммит
89637fe552
|
@ -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]);
|
||||
|
|
Загрузка…
Ссылка в новой задаче