Closed Bug 794424 Opened 14 years ago Closed 14 years ago

No headphones status notification on boot

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-basecamp:+)

RESOLVED FIXED
blocking-basecamp +

People

(Reporter: gerard-majax, Assigned: gerard-majax)

Details

Attachments

(1 file)

At boot time, no status of the headphones is sent. See gaia https://github.com/mozilla-b2g/gaia/issues/5119.
This should be enough to send the event on boot time.
Attachment #664895 - Flags: review?(philipp)
Comment on attachment 664895 [details] [diff] [review] Sending event on boot time. Review of attachment 664895 [details] [diff] [review]: ----------------------------------------------------------------- This makes sense to me, although I worry a bit about races with any observers at start up and the lazy instantiation of AudioManager. It's easy to create AudioManager either too early or too late. But looking at b2g/chrome/content/settings.js and shell.js, we *should* be ok.
Attachment #664895 - Flags: review?(philipp) → review+
Requesting blocking. If we support headphones we should support them after boot too.
blocking-basecamp: --- → ?
(In reply to Philipp von Weitershausen [:philikon] from comment #2) > Comment on attachment 664895 [details] [diff] [review] > Sending event on boot time. > > Review of attachment 664895 [details] [diff] [review]: > ----------------------------------------------------------------- > > This makes sense to me, although I worry a bit about races with any > observers at start up and the lazy instantiation of AudioManager. It's easy > to create AudioManager either too early or too late. But looking at > b2g/chrome/content/settings.js and shell.js, we *should* be ok. As far as I've tested, on my Nexus S, no race condition issue between AudioManager and shell.js. It looks like the race condition happens between shell.js' generated mozChromeEvent and Gaia's statusbar observer.
(In reply to Dietrich Ayala (:dietrich) from comment #3) > Requesting blocking. If we support headphones we should support them after > boot too. Agreed.
blocking-basecamp: ? → +
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
did this regress post-boot headphone detection? https://github.com/mozilla-b2g/gaia/issues/5428
Keywords: verifyme
QA Contact: jsmith
For comment 8, it should be fixed by bug 794598.
Keywords: verifyme
QA Contact: jsmith
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: