Closed Bug 969468 Opened 11 years ago Closed 11 years ago

[B2G][NFC] Enable NFC preference by default

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(tracking-b2g:backlog, b2g-v2.0 fixed)

RESOLVED FIXED
2.0 S1 (9may)
tracking-b2g backlog
Tracking Status
b2g-v2.0 --- fixed

People

(Reporter: dgarnerlee, Assigned: dgarnerlee)

References

Details

(Whiteboard: [perf-reviewed])

Attachments

(1 file)

46 bytes, text/x-github-pull-request
arthurcc
: review+
Details | Review
It's a great UX idea to enable the user perference setting by default on device platforms that support it, when stable. As of writing, that setting is in here: config/common-settings.json
Blocks: b2g-nfc
Summary: [B2G][NFC] Enable NFC perference by default → [B2G][NFC] Enable NFC preference by default
Whiteboard: [perf-reviewed]
Assignee: nobody → dgarnerlee
The code is relatively stable now. Platforms compiled without NFC will be missing navigator.mozNfc, so the value doesn't matter (and won't show in UI). Enable NFC settings value and resulting functionality by default.
Attachment #8401614 - Flags: review?(ehung)
Target Milestone: --- → 1.4 S5 (11apr)
Comment on attachment 8401614 [details] [review] Enable NFC patch. r=arthurcc I'd like to make sure the feature detection of NFC will work according to the comments above. redirect review flag to Arthur for verifying.
Attachment #8401614 - Flags: review?(ehung) → review?(arthur.chen)
Comment on attachment 8401614 [details] [review] Enable NFC patch. r=arthurcc Thanks for the patch! We should also check if mozNfc is available before changing the corresponding mozSettings value when toggling airplane mode.
Attachment #8401614 - Flags: review?(arthur.chen)
Comment on attachment 8401614 [details] [review] Enable NFC patch. r=arthurcc Hi Arthur (or Evelyn?): Updated with extra dom check for mozNfc in airplane_mode.js as per comment. Passing green: https://github.com/mozilla-b2g/gaia/pull/17963
Attachment #8401614 - Flags: review?(arthur.chen)
Comment on attachment 8401614 [details] [review] Enable NFC patch. r=arthurcc r=me with the comment addressed. We should also add a check before suspending nfc.
Attachment #8401614 - Flags: review?(arthur.chen) → review+
Thanks! Updated with last comment.
Keywords: checkin-needed
Attachment #8401614 - Attachment description: Enable NFC patch. → Enable NFC patch. r=arthurcc
Status: NEW → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: 1.4 S5 (11apr) → 1.5 S1 (9may)
blocking-b2g: --- → backlog
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: