Closed
Bug 794424
Opened 14 years ago
Closed 14 years ago
No headphones status notification on boot
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(blocking-basecamp:+)
RESOLVED
FIXED
| blocking-basecamp | + |
People
(Reporter: gerard-majax, Assigned: gerard-majax)
Details
Attachments
(1 file)
|
511 bytes,
patch
|
philikon
:
review+
|
Details | Diff | Splinter Review |
At boot time, no status of the headphones is sent. See gaia https://github.com/mozilla-b2g/gaia/issues/5119.
| Assignee | ||
Comment 1•14 years ago
|
||
This should be enough to send the event on boot time.
| Assignee | ||
Updated•14 years ago
|
Attachment #664895 -
Flags: review?(philipp)
Comment 2•14 years ago
|
||
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+
Comment 3•14 years ago
|
||
Requesting blocking. If we support headphones we should support them after boot too.
blocking-basecamp: --- → ?
| Assignee | ||
Comment 4•14 years ago
|
||
(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.
Comment 5•14 years ago
|
||
(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: ? → +
Updated•14 years ago
|
Keywords: checkin-needed
Comment 6•14 years ago
|
||
Assignee: nobody → lissyx+mozillians
Keywords: checkin-needed
Comment 7•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 8•14 years ago
|
||
did this regress post-boot headphone detection? https://github.com/mozilla-b2g/gaia/issues/5428
Comment 9•14 years ago
|
||
For comment 8, it should be fixed by bug 794598.
You need to log in
before you can comment on or make changes to this bug.
Description
•