Closed Bug 1000830 Opened 10 years ago Closed 10 years ago

NFC: Handle WellKnown NDEFs in the same function

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1027568

People

(Reporter: allstars.chh, Unassigned)

References

Details

Right now Well-Known NDEFs are handled in different place,
for HandoverRequest and HandoverSelect, they are handled in the beginning of handleTechnologyDiscovered, however other Well-Known NDEFs are handled the function 'formatWellKnownRecord'.

I think they are handled in different place because the latter one expects to return a MozActivity, whereas the HandoverRequest and HandoverSelects don't.

We should refactor nfc_manager so the same type of NDEF could be handled in the same place.
Depends on: 1006375
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.