Closed Bug 993893 Opened 10 years ago Closed 10 years ago

B2G NFC: NfcManager APIs will also check nfc-write permission

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED FIXED
1.4 S6 (25apr)
tracking-b2g backlog

People

(Reporter: allstars.chh, Assigned: allstars.chh)

References

Details

(Whiteboard: [p=1])

Attachments

(1 file)

The APIs in NfcManager, such as checkP2PRegistration, notifyUserAcceptedP2P and notifySendFileStatus actually need not only nfc-managare permission, but also nfc-write
which seems not neccesary.

http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/Nfc.js?from=Nfc.js#307
Attached patch PatchSplinter Review
Assignee: nobody → allstars.chh
Attachment #8403891 - Flags: review?(dlee) → review+
https://hg.mozilla.org/mozilla-central/rev/de66d4303055
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [p=1]
Target Milestone: --- → 1.4 S6 (25apr)
blocking-b2g: --- → backlog
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: