Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 763329 - [b2g-bluetooth] Set up system wide shutdown functions
: [b2g-bluetooth] Set up system wide shutdown functions
Product: Core
Classification: Components
Component: DOM: Device Interfaces (show other bugs)
: Trunk
: All Linux
: -- normal (vote)
: ---
Assigned To: Kyle Machulis [:qdot]
: Andrew Overholt [:overholt]
Depends on:
Blocks: b2g-bluetooth
  Show dependency treegraph
Reported: 2012-06-10 11:50 PDT by Kyle Machulis [:qdot]
Modified: 2012-10-22 12:22 PDT (History)
3 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description Kyle Machulis [:qdot] 2012-06-10 11:50:32 PDT
Once we turn on something like airplane mode or turn off the global bluetooth radio, all currently living bluetooth classes will need to be notified. Set up a system-wide notifier to do this, along with the relevant events in DOM objects.
Comment 1 Jonas Sicking (:sicking) No longer reading bugmail consistently 2012-07-10 13:52:00 PDT
Should this really be blocking? What's the effect of not fixing this? Given that this API is only exposed to certified apps, it's not a big deal if there's a bug in the DOM as long as all apps behave correctly.
Comment 2 Kyle Machulis [:qdot] 2012-07-10 14:04:41 PDT
Now that we've started working with the settings API, I wouldn't say this is blocking anymore. If anything needs to know when system wide shutoff has happened, they can put up a settings watcher on bluetooth.enabled.
Comment 3 Kyle Machulis [:qdot] 2012-07-18 13:28:29 PDT
For the moment, we're going to fix this via centralizing on the settings API in gaia. Anything worried about something else resetting values can put a settings observer on bluetooth.enabled to get updates. This should cover all of our cases for the time being, so marking as resolved here since we at least have a solution.

Related gaia issue:

Note You need to log in before you can comment on or make changes to this bug.