Bug 1089486 - [NFC] Disable NFC toggle in settings during NFC HW change,  r=arthur.chen, r=gweng

https://bugzilla.mozilla.org/show_bug.cgi?id=1089486
I will review other parts. Today I'm unfortunately little busy, so I only
review to this section.
2014年11月20日 下午6:28 於 "Krzysztof Mioduszewski" <notifications@github.com> 寫道：

> In apps/system/js/nfc_manager.js:
>
> > @@ -126,7 +129,14 @@
> >       * returns {boolean} isActive
> >       */
> >      isActive: function nm_isActive() {
> > -      return (this._hwState !== this.NFC_HW_STATE.OFF) ? true : false;
> > +      return this._hwState === this.NFC_HW_STATE.ON ||
> > +             this._hwState === this.NFC_HW_STATE.ENABLE_DISCOVERY ||
> > +             this._hwState === this.NFC_HW_STATE.DISABLE_DISCOVERY;
>
> Sure, will do this. I'll need to rebase the patch since promises use in
> the API has landed. Do you have some other remarks, or do you want me to
> fix this, rebase and ask once more for the review?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mozilla-b2g/gaia/pull/26260/files#r20637297>.
>