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 4de22400a1
commit 3d6373abad

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);
}