mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-22 12:04:38 +00:00
Bug 1172873 - Suppress the notification of STK proactive command if there is no Icc detected. r=echen
This commit is contained in:
parent
af54ebf11f
commit
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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user