mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1127726 - Cannot receive NDEF from another NFC Peer. r=vchang
This commit is contained in:
parent
4de22400a1
commit
3d6373abad
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user