mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 04:58:00 +00:00
Bug 853782 - 0002. Notify receiving of WAP Push by System Message. r=vicamo
This commit is contained in:
parent
9c6c7f083c
commit
8cd77f3da4
@ -97,7 +97,10 @@ this.SystemMessagePermissionsTable = {
|
||||
},
|
||||
"ussd-received": {
|
||||
"mobileconnection": []
|
||||
}
|
||||
},
|
||||
"wappush-received": {
|
||||
"sms": []
|
||||
},
|
||||
};
|
||||
|
||||
this.SystemMessagePermissionsChecker = {
|
||||
|
@ -28,6 +28,10 @@ XPCOMUtils.defineLazyGetter(this, "SL", function () {
|
||||
return SL;
|
||||
});
|
||||
|
||||
XPCOMUtils.defineLazyServiceGetter(this, "gSystemMessenger",
|
||||
"@mozilla.org/system-message-internal;1",
|
||||
"nsISystemMessagesInternal");
|
||||
|
||||
/**
|
||||
* Helpers for WAP PDU processing.
|
||||
*/
|
||||
@ -98,7 +102,10 @@ this.WapPushManager = {
|
||||
};
|
||||
}
|
||||
|
||||
// TODO: Bug 853782 - Notify receiving of WAP Push messages
|
||||
gSystemMessenger.broadcastMessage("wappush-received", {
|
||||
contentType: msg.contentType,
|
||||
content: msg.content
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user