Bug 1127726 - Cannot receive NDEF from another NFC Peer. r=vchang

This commit is contained in:
Yoshi Huang 2015-01-30 16:10:12 +08:00
parent 26ab1bf04e
commit fa829b146d

View File

@ -536,6 +536,9 @@ Nfc.prototype = {
if (SessionHelper.isP2PSession(sessionId)) {
if (message.records) {
// TODO: Bug 1082493.
// This event should be sent to the focus app, but before Bug 1082493
// is landed we forward this to System app.
gMessageManager.callDefaultFoundHandler(message);
} else {
gMessageManager.onPeerEvent(NFC.PEER_EVENT_FOUND, message.sessionToken);
}