зеркало из https://github.com/mozilla/gecko-dev.git
Bug 748667 - B2G SMS: can't receive normal SMS, message.header is undefined. r=philikon
--HG-- extra : rebase_source : 0fccacf5bb7747a96d420e65389f4b3f6fb81ad8
This commit is contained in:
Родитель
9d78d2fad5
Коммит
5ebe4fbd96
|
@ -513,7 +513,7 @@ RadioInterfaceLayer.prototype = {
|
|||
// Dispatch to registered handler if application port addressing is
|
||||
// available. Note that the destination port can possibly be zero when
|
||||
// representing a UDP/TCP port.
|
||||
if (message.header.destinationPort != null) {
|
||||
if (message.header && message.header.destinationPort != null) {
|
||||
let handler = this.portAddressedSmsApps[message.header.destinationPort];
|
||||
if (handler) {
|
||||
handler(message);
|
||||
|
|
Загрузка…
Ссылка в новой задаче